Skip to content

Commit

Permalink
Use correct env var in client app
Browse files Browse the repository at this point in the history
  • Loading branch information
bdb-dd committed Apr 16, 2024
1 parent 6a49f8d commit 837659d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/admin/src/supabase/SupabaseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { createClient, SupabaseClient } from "@supabase/supabase-js";
console.log("Initializing Supabase client with provided URL and Anon Key.");

// Initialize Supabase client
const supabaseUrl = import.meta.env.VITE_SLACK_APP_SUPABASE_URL;
const supabaseUrl = import.meta.env.VITE_SLACK_APP_SUPABASE_API_URL;
const supabaseAnonKey = import.meta.env.VITE_SLACK_APP_SUPABASE_ANON_KEY;

const supabase: SupabaseClient = createClient(supabaseUrl, supabaseAnonKey);
Expand Down

0 comments on commit 837659d

Please sign in to comment.