@deix/rossini-identity-management 1.1.0 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ import usersTranslations from '../../lang/users';
6
6
  export const getUsers = async (apiClient, username, group) => {
7
7
  if (group) {
8
8
  const { data: groupData } = await apiClient.get(`/groups`, {
9
- params: { max: 1, search: group },
9
+ params: { max: 1, search: group, exact: 'true' },
10
10
  });
11
11
  if (groupData.length === 1) {
12
12
  const { data } = await apiClient.get(`/groups/${groupData[0].id}/members`);
@@ -18,7 +18,7 @@ export const getUsers = async (apiClient, username, group) => {
18
18
  }
19
19
  else {
20
20
  const { data } = await apiClient.get(`/users`, {
21
- params: { max: 1000, username },
21
+ params: { max: 1000, username, exact: 'true' },
22
22
  });
23
23
  return data;
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deix/rossini-identity-management",
3
- "version": "1.1.0",
3
+ "version": "1.1.3",
4
4
  "main": "lib/index.js",
5
5
  "repository": {
6
6
  "type": "git",