summaryrefslogtreecommitdiff
path: root/src/misc/count-same-renotes.ts
diff options
context:
space:
mode:
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();