From b30fb33384b95ce01be28d4966ce53cdaaeb4729 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:51:07 +0000 Subject: [PATCH] Fix testAuth arguments The testAuth function in src/lib/supabase/tests/index.ts was called with only one argument, but it expects two. This commit fixes the issue by passing the supabase URL as the second argument to the testAuth function. --- src/lib/supabase/tests/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/supabase/tests/index.ts b/src/lib/supabase/tests/index.ts index 4c6fa14..1570754 100644 --- a/src/lib/supabase/tests/index.ts +++ b/src/lib/supabase/tests/index.ts @@ -60,7 +60,8 @@ export const testSupabaseConnection = async (): Promise => { } // 테스트 실행 - const authResults = await testAuth(supabase); + // testAuth 함수에 두 번째 인자로 URL 전달 + const authResults = await testAuth(supabase, results.url); const apiResults = await testRestApi(supabase); const dbResults = await testDatabaseConnection(supabase);