This commit is contained in:
syuilo 2023-03-30 12:16:03 +09:00
parent bb2b33f2c9
commit e03d5a86a4
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
this.noteThreadMutingsRepository.count({
where: {
userId: me.id,
threadId: note.threadId || note.id,
threadId: note.threadId ?? note.id,
},
take: 1,
}),