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({ this.noteThreadMutingsRepository.count({
where: { where: {
userId: me.id, userId: me.id,
threadId: note.threadId || note.id, threadId: note.threadId ?? note.id,
}, },
take: 1, take: 1,
}), }),