From 9b07140913e43a6b398d48690c4823095405c3ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20He=C3=A9?= Date: Tue, 6 Aug 2024 22:13:52 +0200 Subject: [PATCH] feature(functions): support twint (bugfix) (#884) --- shared/src/types/user.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/src/types/user.ts b/shared/src/types/user.ts index 74ea951d1..71b86640c 100644 --- a/shared/src/types/user.ts +++ b/shared/src/types/user.ts @@ -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(' ');