Changed update officeRole to update to handle both role and update role update
This commit is contained in:
parent
edcdb1a15c
commit
613fba23b8
@ -24,7 +24,7 @@ export default class UsersService extends BaseService {
|
|||||||
* @throws {Error} If user modification failed
|
* @throws {Error} If user modification failed
|
||||||
*/
|
*/
|
||||||
public async update(uid: string, userEntity: User): Promise<Users> {
|
public async update(uid: string, userEntity: User): Promise<Users> {
|
||||||
return this.userRepository.updateOfficeRole(uid, userEntity);
|
return this.userRepository.update(uid, userEntity);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user