From a55e780eec1218e9d4d9e95ac8c93ff6b8a84d85 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 15 Mar 2025 12:29:07 +0000 Subject: [PATCH] Fix TypeScript error in tests The `backupProxySuccess` property was being assigned to the `debugInfo` object in the `testSupabaseConnection` function, but it was not defined in the type definition. This commit adds the `backupProxySuccess` property to the type definition of the `debugInfo` object to resolve the TypeScript error. --- src/lib/supabase/tests.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/supabase/tests.ts b/src/lib/supabase/tests.ts index 018a71a..a28eac2 100644 --- a/src/lib/supabase/tests.ts +++ b/src/lib/supabase/tests.ts @@ -47,7 +47,8 @@ export const testSupabaseConnection = async () => { usingProxy, keyLength: supabaseKey.length, browserInfo: navigator.userAgent, - timestamp: new Date().toISOString() + timestamp: new Date().toISOString(), + backupProxySuccess: false // 타입 오류 수정: backupProxySuccess 속성 추가 } };