mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
testtt
This commit is contained in:
parent
cfe6f1b71c
commit
92b914b581
1 changed files with 2 additions and 1 deletions
|
@ -68,7 +68,8 @@ 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.visibility = \'public\') AND (note.userHost = ANY(\'recommendedInstances\' FROM \'meta\'))')
|
||||
.andWhere('(note.visibility = \'public\')')
|
||||
.andWhere('(note.userHost = ANY(\'meta.recommendedInstances\'))')
|
||||
.innerJoinAndSelect('note.user', 'user')
|
||||
.leftJoinAndSelect('user.avatar', 'avatar')
|
||||
.leftJoinAndSelect('user.banner', 'banner')
|
||||
|
|
Loading…
Reference in a new issue