Skip to content
Snippets Groups Projects
Unverified Commit 075af963 authored by syuilo's avatar syuilo
Browse files

Fix error

parent 64bbc553
No related branches found
No related tags found
No related merge requests found
......@@ -65,6 +65,10 @@ export default define(meta, async (ps, me) => {
let user;
if (ps.userIds) {
if (ps.userIds.length === 0) {
return [];
}
const users = await Users.find({
id: In(ps.userIds)
});
......
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