Skip to content

Commit

Permalink
Update notes.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo authored Sep 9, 2023
1 parent 2d1e1d4 commit 3727045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/server/api/endpoints/users/notes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // 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) {
Expand Down

0 comments on commit 3727045

Please sign in to comment.