Default role to developer
cgen-700a3e98a7114c5fbc8fbc8ea44bcef9
This commit is contained in:
parent
7cf9d27129
commit
0fb78f89b6
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ const normalizeProfile = (
|
||||||
username:
|
username:
|
||||||
(row as any)?.username ?? email?.split("@")[0] ?? "user",
|
(row as any)?.username ?? email?.split("@")[0] ?? "user",
|
||||||
onboarded: true,
|
onboarded: true,
|
||||||
role: (row as any)?.role ?? "member",
|
role: (row as any)?.role ?? "developer",
|
||||||
loyalty_points: (row as any)?.loyalty_points ?? 0,
|
loyalty_points: (row as any)?.loyalty_points ?? 0,
|
||||||
current_streak: (row as any)?.current_streak ?? 0,
|
current_streak: (row as any)?.current_streak ?? 0,
|
||||||
longest_streak:
|
longest_streak:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue