fix: user/group selection with exact match

fix #65
pull/67/head
sualko 2020-08-26 15:54:55 +02:00
parent 557eb7029a
commit 2d170afafd
1 changed files with 4 additions and 2 deletions

View File

@ -192,9 +192,11 @@ class Api {
},
});
const data = response.data.ocs.data;
return {
users: response.data.ocs.data.users,
groups: response.data.ocs.data.groups,
users: [...data.users, ...data.exact.users],
groups: [...data.groups, ...data.exact.groups],
};
}
}