Skip to content

Commit bdf047d

Browse files
authored
fix: use unique name or email to add a user into slack main channel (#952)
1 parent 7eb3b57 commit bdf047d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/modules/azure/services/auth.azure.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export default class AuthAzureServiceImpl implements AuthAzureService {
7070
providerAccountCreatedAt: userFromAzure.value[0].createdDateTime
7171
});
7272

73-
this.slackCommunicationService.executeAddUserMainChannel({ email });
73+
this.slackCommunicationService.executeAddUserMainChannel({ email: emailOrUniqueName });
7474

7575
if (!createdUser) return null;
7676

0 commit comments

Comments
 (0)