summaryrefslogtreecommitdiff
path: root/src/misc/count-same-renotes.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-05-10 17:25:16 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-05-10 17:25:16 +0900
commita3283c71ef3d858a00f6c69ee572642b0bd7fbfa (patch)
tree8a8899171b0f3f85d5c2db689b22eaa1ea2c58e3 /src/misc/count-same-renotes.ts
parentchore(client): :art: (diff)
downloadmisskey-a3283c71ef3d858a00f6c69ee572642b0bd7fbfa.tar.gz
misskey-a3283c71ef3d858a00f6c69ee572642b0bd7fbfa.tar.bz2
misskey-a3283c71ef3d858a00f6c69ee572642b0bd7fbfa.zip
chore(lint): Add missing semicolons
Diffstat (limited to 'src/misc/count-same-renotes.ts')
-rw-r--r--src/misc/count-same-renotes.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/count-same-renotes.ts b/src/misc/count-same-renotes.ts
index 0233bdf88e..bc1072080a 100644
--- a/src/misc/count-same-renotes.ts
+++ b/src/misc/count-same-renotes.ts
@@ -4,11 +4,11 @@ export async function countSameRenotes(userId: string, renoteId: string, exclude
// 指定したユーザーの指定したノートのリノートがいくつあるか数える
const query = Notes.createQueryBuilder('note')
.where('note.userId = :userId', { userId })
- .andWhere('note.renoteId = :renoteId', { renoteId })
+ .andWhere('note.renoteId = :renoteId', { renoteId });
// 指定した投稿を除く
if (excludeNoteId) {
- query.andWhere('note.id != :excludeNoteId', { excludeNoteId })
+ query.andWhere('note.id != :excludeNoteId', { excludeNoteId });
}
return await query.getCount();