diff --git a/public/app/core/components/RolePicker/api.ts b/public/app/core/components/RolePicker/api.ts index da0273fc881..978fe333c4d 100644 --- a/public/app/core/components/RolePicker/api.ts +++ b/public/app/core/components/RolePicker/api.ts @@ -3,7 +3,7 @@ import { Role } from 'app/types'; import { addDisplayNameForFixedRole } from './utils'; -export const fetchRoleOptions = async (orgId?: number, query?: string): Promise => { +export const fetchRoleOptions = async (orgId?: number): Promise => { let rolesUrl = '/api/access-control/roles?delegatable=true'; if (orgId) { rolesUrl += `&targetOrgId=${orgId}`;