no quotes

This commit is contained in:
ThatOneCalculator 2022-07-29 00:13:29 -07:00
parent 152c8c9cae
commit 40c197ed60
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ export default define(meta, paramDef, async (ps, user) => {
const query = makePaginationQuery(Notes.createQueryBuilder('note'),
ps.sinceId, ps.untilId, ps.sinceDate, ps.untilDate)
.andWhere('(note.visibility = \'public\')')
.andWhere('(note.userHost = ANY(\'meta.recommendedInstances\'))')
.andWhere('(note.userHost = ANY(meta.recommendedInstances))')
.innerJoinAndSelect('note.user', 'user')
.leftJoinAndSelect('user.avatar', 'avatar')
.leftJoinAndSelect('user.banner', 'banner')