mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
test
This commit is contained in:
parent
977f649f12
commit
978bf199a0
@ -29,7 +29,7 @@ export const meta = {
|
||||
errors: {
|
||||
ltlDisabled: {
|
||||
message: 'Recommended timeline has been disabled.',
|
||||
code: 'LTL_DISABLED',
|
||||
code: 'RTL_DISABLED',
|
||||
id: '45a6eb02-7695-4393-b023-dd3be9aaaefe',
|
||||
},
|
||||
},
|
||||
@ -68,7 +68,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.visibility = \'public\') AND (note.userHost = ANY(meta.recommendedInstances))')
|
||||
.andWhere('(note.visibility = \'public\')') // AND (note.userHost = ANY(meta.recommendedInstances))')
|
||||
.innerJoinAndSelect('note.user', 'user')
|
||||
.leftJoinAndSelect('user.avatar', 'avatar')
|
||||
.leftJoinAndSelect('user.banner', 'banner')
|
||||
|
Loading…
Reference in New Issue
Block a user