0
0
This commit is contained in:
syuilo 2023-10-29 16:28:32 +09:00
parent 2da55f70a7
commit aefc941df3

View File

@ -239,7 +239,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
query.andWhere(new Brackets(qb => {
qb.where('note.channelId IN (:...followingChannelIds)', { followingChannelIds });
qb.andWhere('note.channelId IS NULL');
qb.orWhere('note.channelId IS NULL');
}));
} else {
query.andWhere('note.channelId IS NULL');