Skip to content

Commit

Permalink
fix: おはnoteの除外でcwを見忘れているのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Jul 31, 2023
1 parent 574f4d8 commit 0f21568
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/backend/src/server/api/endpoints/notes/featured.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 != \'{}\'');
}),
);
Expand Down

0 comments on commit 0f21568

Please sign in to comment.