diff --git a/client/lib/aethex-database-adapter.ts b/client/lib/aethex-database-adapter.ts index eaffc32a..802b700c 100644 --- a/client/lib/aethex-database-adapter.ts +++ b/client/lib/aethex-database-adapter.ts @@ -333,7 +333,7 @@ export const aethexAchievementService = { async updateUserXPAndLevel(userId: string, xpGained: number): Promise { // Get current user data const { data: profile } = await supabase - .from("profiles") + .from("user_profiles") .select("total_xp, level, loyalty_points") .eq("id", userId) .single();