This commit is contained in:
syuilo 2023-03-30 12:16:03 +09:00
parent bb2b33f2c9
commit e03d5a86a4

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,
}),