Skip to content

Commit

Permalink
feature(functions): support twint (bugfix) (#884)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrashee authored Aug 6, 2024
1 parent 024124a commit 9b07140
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared/src/types/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export type User = {
export const splitName = (name: string | undefined | null) => {
if (!name) {
return {
firstname: undefined,
lastname: undefined,
firstname: '',
lastname: '',
};
}
const stripeNames = name.trim().split(' ');
Expand Down

0 comments on commit 9b07140

Please sign in to comment.