mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-24 20:59:28 +00:00
add smart random
This commit is contained in:
@@ -17,6 +17,6 @@ export class GetCurrentUserDataHandler implements ICommandHandler<GetCurrentUser
|
||||
|
||||
if (!user) throw new UnauthorizedException()
|
||||
|
||||
return pick(user, ['email', 'name', 'id', 'isEmailVerified'])
|
||||
return pick(user, ['email', 'name', 'id', 'isEmailVerified', 'avatar'])
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user