From e03d5a86a40e5259fdd6b6876cbe443041a44b51 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 30 Mar 2023 12:16:03 +0900 Subject: [PATCH] lint fix --- packages/backend/src/server/api/endpoints/notes/state.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/notes/state.ts b/packages/backend/src/server/api/endpoints/notes/state.ts index d0036f0fb..93517ab10 100644 --- a/packages/backend/src/server/api/endpoints/notes/state.ts +++ b/packages/backend/src/server/api/endpoints/notes/state.ts @@ -59,7 +59,7 @@ export default class extends Endpoint { this.noteThreadMutingsRepository.count({ where: { userId: me.id, - threadId: note.threadId || note.id, + threadId: note.threadId ?? note.id, }, take: 1, }),