Default role to developer

cgen-700a3e98a7114c5fbc8fbc8ea44bcef9
This commit is contained in:
Builder.io 2025-10-04 21:15:31 +00:00
parent 7cf9d27129
commit 0fb78f89b6

View file

@ -53,7 +53,7 @@ const normalizeProfile = (
username:
(row as any)?.username ?? email?.split("@")[0] ?? "user",
onboarded: true,
role: (row as any)?.role ?? "member",
role: (row as any)?.role ?? "developer",
loyalty_points: (row as any)?.loyalty_points ?? 0,
current_streak: (row as any)?.current_streak ?? 0,
longest_streak: