mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-29 08:50:05 +00:00
Function to synchronize user
This commit is contained in:
@@ -219,4 +219,10 @@ export class UsersService implements OnModuleInit {
|
||||
async findAllCustomers() {
|
||||
return await lastValueFrom(this.customersClientService.CustomerFindAll({}));
|
||||
}
|
||||
|
||||
async synchronizeUser(userId: string) {
|
||||
return await lastValueFrom(
|
||||
this.usersClientService.INTERNAL_UserSynchronize({ userId }),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user