mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-08 22:23:08 +02:00
fix: postgres type error
Fix a bug introduced in #8659. Solution was already tested there.
This commit is contained in:
parent
504cf74b90
commit
037ca92275
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ export default define(meta, paramDef, async (ps, user) => {
|
||||||
userId: user.id,
|
userId: user.id,
|
||||||
fileIds,
|
fileIds,
|
||||||
})
|
})
|
||||||
.orderBy('array_position(ARRAY[:...fileIds], "id")')
|
.orderBy('array_position(ARRAY[:...fileIds], "id"::text)')
|
||||||
.setParameters({ fileIds })
|
.setParameters({ fileIds })
|
||||||
.getMany();
|
.getMany();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue