Keep mock profile in sync after Supabase update
cgen-4231258ed8f34bf6a446f5555fd27689
This commit is contained in:
parent
37a549f3e7
commit
3cbf1cdecb
1 changed files with 4 additions and 0 deletions
|
|
@ -290,6 +290,10 @@ export const aethexUserService = {
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
await mockAuth.updateProfile(userId as any, updates as any);
|
||||||
|
} catch {}
|
||||||
|
|
||||||
return data as AethexUserProfile;
|
return data as AethexUserProfile;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue