From 0f21568cf107d1f6c834d1673f1b612b2a7e04a0 Mon Sep 17 00:00:00 2001 From: anatawa12 Date: Mon, 31 Jul 2023 13:59:27 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=81=8A=E3=81=AFnote=E3=81=AE=E9=99=A4?= =?UTF-8?q?=E5=A4=96=E3=81=A7cw=E3=82=92=E8=A6=8B=E5=BF=98=E3=82=8C?= =?UTF-8?q?=E3=81=A6=E3=81=84=E3=82=8B=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/server/api/endpoints/notes/featured.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/backend/src/server/api/endpoints/notes/featured.ts b/packages/backend/src/server/api/endpoints/notes/featured.ts index 1979c4c08e..85ac02fed4 100644 --- a/packages/backend/src/server/api/endpoints/notes/featured.ts +++ b/packages/backend/src/server/api/endpoints/notes/featured.ts @@ -68,6 +68,8 @@ export default class extends Endpoint { 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 != \'{}\''); }), );