Rename to fit name pattern
parent
d091c31d55
commit
dccf466e4d
|
|
@ -282,10 +282,10 @@ export class UsersApiClient {
|
|||
roleIdentifier: string | number
|
||||
): Promise<void> {
|
||||
try {
|
||||
const groupParam = buildIdentifierParam(userIdentifier);
|
||||
const userParam = buildIdentifierParam(userIdentifier);
|
||||
const roleParam = buildIdentifierParam(roleIdentifier);
|
||||
const response: ApiResponse = await this.#apiClient.put(
|
||||
`${this.#USERS_API_PREFIX}/${groupParam}/roles/${roleParam}`
|
||||
`${this.#USERS_API_PREFIX}/${userParam}/roles/${roleParam}`
|
||||
);
|
||||
if (response.ok) {
|
||||
return;
|
||||
Loading…
Reference in New Issue