Update upsert default user_type
cgen-26990928e9354d67a41f4e53e3ddaecc
This commit is contained in:
parent
973292385a
commit
6a6ed879aa
1 changed files with 1 additions and 1 deletions
|
|
@ -348,7 +348,7 @@ export const aethexUserService = {
|
|||
const { data: upserted, error: upsertError } = await supabase
|
||||
.from("user_profiles")
|
||||
.upsert(
|
||||
{ id: userId, user_type: "community_member", ...updates } as any,
|
||||
{ id: userId, user_type: "game_developer", ...updates } as any,
|
||||
{ onConflict: "id" },
|
||||
)
|
||||
.select()
|
||||
|
|
|
|||
Loading…
Reference in a new issue