Function to synchronize user

This commit is contained in:
Gabriel Rosa
2022-09-23 09:25:41 -03:00
parent c29cf5aee1
commit 7245942707
7 changed files with 37 additions and 11 deletions
+6
View File
@@ -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 }),
);
}
}