From 372704500f27472024dc550cea34b46e678f26a8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 9 Sep 2023 13:49:54 +0900 Subject: [PATCH] Update notes.ts --- packages/backend/src/server/api/endpoints/users/notes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/users/notes.ts b/packages/backend/src/server/api/endpoints/users/notes.ts index 0b21c272b371..d9858eab5850 100644 --- a/packages/backend/src/server/api/endpoints/users/notes.ts +++ b/packages/backend/src/server/api/endpoints/users/notes.ts @@ -84,7 +84,7 @@ export default class extends Endpoint { // eslint- .leftJoinAndSelect('reply.user', 'replyUser') .leftJoinAndSelect('renote.user', 'renoteUser'); - query.andWhere('channel."isSensitive" IS NOT TRUE'); + query.andWhere('channel.isSensitive = false'); this.queryService.generateVisibilityQuery(query, me); if (me) {