typo
This commit is contained in:
parent
2da55f70a7
commit
aefc941df3
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
||||||
|
|
||||||
query.andWhere(new Brackets(qb => {
|
query.andWhere(new Brackets(qb => {
|
||||||
qb.where('note.channelId IN (:...followingChannelIds)', { followingChannelIds });
|
qb.where('note.channelId IN (:...followingChannelIds)', { followingChannelIds });
|
||||||
qb.andWhere('note.channelId IS NULL');
|
qb.orWhere('note.channelId IS NULL');
|
||||||
}));
|
}));
|
||||||
} else {
|
} else {
|
||||||
query.andWhere('note.channelId IS NULL');
|
query.andWhere('note.channelId IS NULL');
|
||||||
|
|
Loading…
Reference in a new issue