chore: added teacher comments to all service methods

This commit is contained in:
Balu Babu
2023-01-23 06:04:23 +05:30
parent b2acd5511c
commit 93479320ee
7 changed files with 125 additions and 10 deletions

View File

@@ -34,6 +34,9 @@ export class MicrosoftStrategy extends PassportStrategy(Strategy) {
return createdUser;
}
/**
* * displayName and photoURL maybe null if user logged-in via magic-link before SSO
*/
if (!user.value.displayName || !user.value.photoURL) {
const updatedUser = await this.usersService.updateUserDetails(
user.value,