mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-25 14:51:31 -07:00
im stuff
This commit is contained in:
parent
dffe88399e
commit
acbc9a6a8d
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ export default define(meta, paramDef, async (ps, user) => {
|
|||
//#region Construct query
|
||||
const query = makePaginationQuery(Notes.createQueryBuilder('note'),
|
||||
ps.sinceId, ps.untilId, ps.sinceDate, ps.untilDate)
|
||||
.andWhere(`(note.userHost IN ${formattedInstances})`)
|
||||
.andWhere(`(note.userHost = ANY (ARRAY[${m.recommendedInstances}])`)
|
||||
// .andWhere(new Brackets(qb => {
|
||||
// qb.where('note.userHost IN :instances', { instances: m.recommendedInstances })
|
||||
// .orWhere('note.userHost IS NULL');
|
||||
|
|
Loading…
Reference in a new issue