From 4a890c4af46a720b7da263b7b9d46712242220b7 Mon Sep 17 00:00:00 2001 From: Mathieu Suen <mathieu.suen@sonarsource.com> Date: Wed, 29 Mar 2023 10:01:45 +0200 Subject: SONAR-18657 Add members view for groups in a managed instance --- server/sonar-web/src/main/js/api/user_groups.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'server/sonar-web/src/main/js/api/user_groups.ts') 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 9b2ebe32352..0e7fd144827 100644 --- a/server/sonar-web/src/main/js/api/user_groups.ts +++ b/server/sonar-web/src/main/js/api/user_groups.ts @@ -19,7 +19,7 @@ */ import { throwGlobalError } from '../helpers/error'; import { getJSON, post, postJSON } from '../helpers/request'; -import { Group, Paging, UserSelected } from '../types/types'; +import { Group, Paging, UserGroupMember } from '../types/types'; export function searchUsersGroups(data: { f?: string; @@ -37,7 +37,11 @@ export function getUsersInGroup(data: { ps?: number; q?: string; selected?: string; -}): Promise<Paging & { users: UserSelected[] }> { +}): Promise< + Paging & { + users: UserGroupMember[]; + } +> { return getJSON('/api/user_groups/users', data).catch(throwGlobalError); } -- cgit v1.2.3