fix: postgres type error
Fix a bug introduced in #8659. Solution was already tested there.
This commit is contained in:
parent
504cf74b90
commit
037ca92275
@ -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 New Issue
Block a user