diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-05-10 17:25:16 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-05-10 17:25:16 +0900 |
| commit | a3283c71ef3d858a00f6c69ee572642b0bd7fbfa (patch) | |
| tree | 8a8899171b0f3f85d5c2db689b22eaa1ea2c58e3 /src/misc | |
| parent | chore(client): :art: (diff) | |
| download | sharkey-a3283c71ef3d858a00f6c69ee572642b0bd7fbfa.tar.gz sharkey-a3283c71ef3d858a00f6c69ee572642b0bd7fbfa.tar.bz2 sharkey-a3283c71ef3d858a00f6c69ee572642b0bd7fbfa.zip | |
chore(lint): Add missing semicolons
Diffstat (limited to 'src/misc')
| -rw-r--r-- | src/misc/count-same-renotes.ts | 4 | ||||
| -rw-r--r-- | src/misc/reaction-lib.ts | 2 |
2 files changed, 3 insertions, 3 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(); diff --git a/src/misc/reaction-lib.ts b/src/misc/reaction-lib.ts index e9a9d4f7c9..b393154d9c 100644 --- a/src/misc/reaction-lib.ts +++ b/src/misc/reaction-lib.ts @@ -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(); |