mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
certified typeorm moment
This commit is contained in:
parent
a68e0a90fa
commit
dffe88399e
@ -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 :instances)', { instances: formattedInstances })
|
||||
.andWhere(`(note.userHost IN ${formattedInstances})`)
|
||||
// .andWhere(new Brackets(qb => {
|
||||
// qb.where('note.userHost IN :instances', { instances: m.recommendedInstances })
|
||||
// .orWhere('note.userHost IS NULL');
|
||||
|
Loading…
Reference in New Issue
Block a user