diff options
author | 7PH <benjamin.raymond@sonarsource.com> | 2023-05-05 16:25:59 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-05-05 20:03:00 +0000 |
commit | 1f5ba89d35e664c78e6dfd52effdbbe92447750b (patch) | |
tree | 9d60aa7a47d63c85c8f402d752172ab8f1ac7950 /server/sonar-web/src/main/js/api/user_groups.ts | |
parent | fefcbdcece48719cc98753629d58e79ec480e101 (diff) | |
download | sonarqube-1f5ba89d35e664c78e6dfd52effdbbe92447750b.tar.gz sonarqube-1f5ba89d35e664c78e6dfd52effdbbe92447750b.zip |
SONAR-18652 Drop usages of deprecated paging mechanism in the frontend API response
Diffstat (limited to 'server/sonar-web/src/main/js/api/user_groups.ts')
-rw-r--r-- | server/sonar-web/src/main/js/api/user_groups.ts | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/api/user_groups.ts b/server/sonar-web/src/main/js/api/user_groups.ts index 0e7fd144827..247a2f259f9 100644 --- a/server/sonar-web/src/main/js/api/user_groups.ts +++ b/server/sonar-web/src/main/js/api/user_groups.ts @@ -37,11 +37,10 @@ export function getUsersInGroup(data: { ps?: number; q?: string; selected?: string; -}): Promise< - Paging & { - users: UserGroupMember[]; - } -> { +}): Promise<{ + paging: Paging; + users: UserGroupMember[]; +}> { return getJSON('/api/user_groups/users', data).catch(throwGlobalError); } |