Skip to content
Snippets Groups Projects
Unverified Commit 037ca922 authored by Johann150's avatar Johann150
Browse files

fix: postgres type error

Fix a bug introduced in #8659. Solution was already tested there.
parent 504cf74b
No related branches found
No related tags found
No related merge requests found
......@@ -177,7 +177,7 @@ export default define(meta, paramDef, async (ps, user) => {
userId: user.id,
fileIds,
})
.orderBy('array_position(ARRAY[:...fileIds], "id")')
.orderBy('array_position(ARRAY[:...fileIds], "id"::text)')
.setParameters({ fileIds })
.getMany();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment