mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-21 21:45:11 +00: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,
|
||||
fileIds,
|
||||
})
|
||||
.orderBy('array_position(ARRAY[:...fileIds], "id")')
|
||||
.orderBy('array_position(ARRAY[:...fileIds], "id"::text)')
|
||||
.setParameters({ fileIds })
|
||||
.getMany();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue