From c9c37a2a289b56bcfc47417d6812f80e68efc661 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 28 Nov 2025 20:05:12 -0800 Subject: [PATCH] fix: Phase 8a - fix users.update function call (24 -> 23 errors) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed incorrect function call to users.update by removing extra fetch argument. The issue: settings page was calling users.update(fetch, userId, updateData) but the function signature is users.update(userId, updateData). The fetch parameter is not needed - the users.update function uses the global fetch internally via userAdapter. Changes: - src/routes/settings/+page.svelte: - Removed fetch argument from users.update call - Changed from: users.update(fetch, account.userId, updateData) - Changed to: users.update(account.userId, updateData) Result: 24 → 23 errors (-1) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/routes/settings/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte index 793ec54c..464bf059 100644 --- a/src/routes/settings/+page.svelte +++ b/src/routes/settings/+page.svelte @@ -84,7 +84,7 @@ } // Call API to update user settings - const response = await users.update(fetch, account.userId, updateData) + const response = await users.update(account.userId, updateData) // Update the user cookie const updatedUser: UserCookie = {