Fix updateProfile table name
cgen-442d6eec32164c9f94ce071ede57663f
This commit is contained in:
parent
31753f3717
commit
74ddee8362
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ export const aethexUserService = {
|
||||||
updates: Partial<AethexUserProfile>,
|
updates: Partial<AethexUserProfile>,
|
||||||
): Promise<AethexUserProfile | null> {
|
): Promise<AethexUserProfile | null> {
|
||||||
const { data, error } = await supabase
|
const { data, error } = await supabase
|
||||||
.from("profiles")
|
.from("user_profiles")
|
||||||
.update(updates)
|
.update(updates)
|
||||||
.eq("id", userId)
|
.eq("id", userId)
|
||||||
.select()
|
.select()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue