diff --git a/packages/backend/src/server/api/endpoints/notes/recommended-timeline.ts b/packages/backend/src/server/api/endpoints/notes/recommended-timeline.ts index 2678585460..723938195a 100644 --- a/packages/backend/src/server/api/endpoints/notes/recommended-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/recommended-timeline.ts @@ -66,7 +66,7 @@ export default define(meta, paramDef, async (ps, user) => { } } - const cursed = `(note.userHost = ANY (ARRAY["${m.recommendedInstances.join('","')}"]))`; + const cursed = `(note.userHost = ANY ('{"${m.recommendedInstances.join('","')}"}'::string[]))`; console.log(cursed); //#region Construct query const query = makePaginationQuery(Notes.createQueryBuilder('note'),