Skip to content

Commit

Permalink
Merge pull request #22 from tookey-io/develop
Browse files Browse the repository at this point in the history
fix: default name
  • Loading branch information
alerdenisov authored Dec 4, 2023
2 parents ebe0e8b + b976062 commit 756bf22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/api/src/auth/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ export class AuthController {
async signinFlow(@CurrentUser() userDto: UserContextDto) {
const userRequest = {
id: userDto.user.id.toString(),
firstName: userDto.user.firstName,
lastName: userDto.user.lastName,
firstName: userDto.user.firstName ?? 'John',
lastName: userDto.user.lastName ?? 'Doe',
trackEvents: true,
newsLetter: true,
};
Expand Down

0 comments on commit 756bf22

Please sign in to comment.