From e41048f1b3898b0c0110848b3e67f94151aa3e87 Mon Sep 17 00:00:00 2001 From: NoriDev Date: Sat, 23 Sep 2023 16:44:08 +0900 Subject: [PATCH] fix lint --- packages/backend/src/core/NoteCreateService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/core/NoteCreateService.ts b/packages/backend/src/core/NoteCreateService.ts index 8e9657570c..a47513cadb 100644 --- a/packages/backend/src/core/NoteCreateService.ts +++ b/packages/backend/src/core/NoteCreateService.ts @@ -670,13 +670,13 @@ export class NoteCreateService implements OnApplicationShutdown { // 投稿がリプライかつ投稿者がローカルユーザーかつリプライ先の投稿の投稿者がリモートユーザーなら配送 if (data.reply && data.reply.userHost !== null) { - const u = await this.usersRepository.findOneBy({id: data.reply.userId}); + const u = await this.usersRepository.findOneBy({ id: data.reply.userId }); if (u && this.userEntityService.isRemoteUser(u)) dm.addDirectRecipe(u); } // 投稿がRenoteかつ投稿者がローカルユーザーかつRenote元の投稿の投稿者がリモートユーザーなら配送 if (data.renote && data.renote.userHost !== null) { - const u = await this.usersRepository.findOneBy({id: data.renote.userId}); + const u = await this.usersRepository.findOneBy({ id: data.renote.userId }); if (u && this.userEntityService.isRemoteUser(u)) dm.addDirectRecipe(u); }