From 3cbf1cdecb44f8c8d6a0bc99f8f20ccea80ec035 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 30 Sep 2025 22:09:49 +0000 Subject: [PATCH] Keep mock profile in sync after Supabase update cgen-4231258ed8f34bf6a446f5555fd27689 --- client/lib/aethex-database-adapter.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/lib/aethex-database-adapter.ts b/client/lib/aethex-database-adapter.ts index 4a6434a5..f2b5c192 100644 --- a/client/lib/aethex-database-adapter.ts +++ b/client/lib/aethex-database-adapter.ts @@ -290,6 +290,10 @@ export const aethexUserService = { throw error; } + try { + await mockAuth.updateProfile(userId as any, updates as any); + } catch {} + return data as AethexUserProfile; },