Rename to fit name pattern

Former-commit-id: dccf466e4d
restapi
Jens Pelzetter 2020-08-03 17:36:35 +02:00
parent 5ff6a49819
commit fd5b69feed
1 changed files with 2 additions and 2 deletions

View File

@ -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;