Fix Supabase Storage API calls
Corrected endpoint paths and authorization headers for Supabase Storage API calls.
This commit is contained in:
@@ -13,7 +13,6 @@ export const signInWithDirectApi = async (email: string, password: string) => {
|
||||
const tokenUrl = `${supabase.auth.url}/token?grant_type=password`;
|
||||
const headers = {
|
||||
'Content-Type': 'application/json',
|
||||
'apikey': supabase.supabaseKey,
|
||||
'Authorization': `Bearer ${supabase.supabaseKey}`,
|
||||
'X-Client-Info': 'supabase-js/2.x'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user