Skip to content

Commit

Permalink
fix: remove fake data (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbystedt authored Oct 25, 2024
1 parent b7d342a commit d7d72fd
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions src/controller/auth-member-sync.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,12 @@ export class AuthMemberSyncController {
this.console.info(
`>>> ${integrationConfig.name} - ${environment}: start`,
);
// const summaryMap = await this.syncIntegrationRoleUsers(
// integrationConfig,
// environment,
// userMap[integrationConfig.name],
// idp,
// );
const summaryMap = new Map<string, UserSummary>();
summaryMap.set(
'483CFF50E3E94A22BDB082B56DE564B6',
new UserSummary({
guid: '483CFF50E3E94A22BDB082B56DE564B6',
domain: 'azureidir',
email: 'matthew.bystedt@gov.bc.ca',
name: 'Bystedt, Matthew WLRS:EX',
}),
const summaryMap = await this.syncIntegrationRoleUsers(
integrationConfig,
environment,
userMap[integrationConfig.name],
idp,
);
summaryMap
.get('483CFF50E3E94A22BDB082B56DE564B6')
?.addRoles.push('group_vault-user');
console.log(summaryMap);

this.notificationService.notifyUsers(integrationConfig, [
...summaryMap.values(),
Expand Down

0 comments on commit d7d72fd

Please sign in to comment.