fix: おはnoteの除外でcwを見忘れているのを修正

This commit is contained in:
anatawa12 2023-07-31 13:59:27 +09:00
parent 574f4d803f
commit 0f21568cf1
No known key found for this signature in database
GPG Key ID: 9CA909848B8E4EA6
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,8 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
new Brackets(qb => {
qb.where('note.text NOT LIKE \'%おはよう%\'')
.andWhere('note.text NOT LIKE \'%:ohayo_nirila_misskey:%\'')
.andWhere('note.cw NOT LIKE \'%おはよう%\'')
.andWhere('note.cw NOT LIKE \'%:ohayo_nirila_misskey:%\'')
.orWhere('note.fileIds != \'{}\'');
}),
);