completionId: cgen-891bc8597d5f41d4b8ae8d9fbd70c9aa
cgen-891bc8597d5f41d4b8ae8d9fbd70c9aa
This commit is contained in:
parent
bd2aeaae43
commit
0af71790a3
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ const normalizeProfile = (
|
|||
...(row as AethexUserProfile),
|
||||
email: email ?? (row as any)?.email,
|
||||
username: (row as any)?.username ?? email?.split("@")[0] ?? "user",
|
||||
onboarded: true,
|
||||
onboarded: (row as any)?.onboarded ?? false,
|
||||
role: (row as any)?.role ?? "developer",
|
||||
loyalty_points: (row as any)?.loyalty_points ?? 0,
|
||||
current_streak: (row as any)?.current_streak ?? 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue