didnt need ::string[] i think

This commit is contained in:
ThatOneCalculator 2022-08-09 01:28:03 -07:00
parent 90ecb119db
commit 5e612a96f5

View file

@ -66,7 +66,7 @@ export default define(meta, paramDef, async (ps, user) => {
}
}
const cursed = `(note.userHost = ANY ('{"${m.recommendedInstances.join('","')}"}'::string[]))`;
const cursed = `(note.userHost = ANY ('{"${m.recommendedInstances.join('","')}"}'))`;
console.log(cursed);
//#region Construct query
const query = makePaginationQuery(Notes.createQueryBuilder('note'),