chore(lint): Add missing semicolons

This commit is contained in:
syuilo
2020-05-10 17:25:16 +09:00
parent 7231f5ff0b
commit a3283c71ef
9 changed files with 26 additions and 26 deletions

View File

@ -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();

View File

@ -78,7 +78,7 @@ export async function toDbReaction(reaction?: string | null, reacterHost?: strin
name,
});
if (emoji) return reacterHost ? `:${name}@${reacterHost}:` : `:${name}:`
if (emoji) return reacterHost ? `:${name}@${reacterHost}:` : `:${name}:`;
}
return await getFallbackReaction();