corrigido endpoints

This commit is contained in:
2026-04-02 13:33:30 +00:00
parent 44aac9ac2d
commit 9860583e81
7 changed files with 289 additions and 239 deletions

View File

@@ -13,11 +13,6 @@ export const supabase = createClient(supabaseUrl, supabaseServiceKey, {
auth: {
autoRefreshToken: false,
persistSession: false
},
global: {
headers: {
'Accept-Profile': 'gpi'
}
}
});
@@ -74,4 +69,4 @@ export async function findOneGpi(table: string, filters: Record<string, any>) {
return data;
}
console.log('✅ Supabase client initialized for GPI schema');
console.log('✅ Supabase client initialized');