Skip to content

Commit

Permalink
fix(core): Make firstName and lastName required in CreateCustomerAndU…
Browse files Browse the repository at this point in the history
…ser method (#2996)
  • Loading branch information
arrrrny authored Aug 10, 2024
1 parent d1e2cdf commit 0d8054d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ export class ExternalAuthenticationService {
config: {
strategy: string;
externalIdentifier: string;
verified: boolean;
emailAddress: string;
firstName?: string;
lastName?: string;
firstName: string;
lastName: string;
verified?: boolean;
},
): Promise<User> {
let user: User;
Expand Down Expand Up @@ -206,7 +206,7 @@ export class ExternalAuthenticationService {
}),
);

return newUser;
return savedUser;
}

async findUser(
Expand Down

0 comments on commit 0d8054d

Please sign in to comment.