mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 08:11:13 -05:00
Fix edge function import
Update logger.ts to use the import-map resolved package - Replace jsr:@supabase/supabase-js@2 with @supabase/supabase-js - Align edge function logger with deno.json import map for reliable bundling
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
* Prevents sensitive data exposure and provides consistent log format
|
* Prevents sensitive data exposure and provides consistent log format
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { createClient } from 'jsr:@supabase/supabase-js@2';
|
import { createClient } from '@supabase/supabase-js';
|
||||||
import { formatEdgeError } from './errorFormatter.ts';
|
import { formatEdgeError } from './errorFormatter.ts';
|
||||||
|
|
||||||
type LogLevel = 'info' | 'warn' | 'error' | 'debug';
|
type LogLevel = 'info' | 'warn' | 'error' | 'debug';
|
||||||
|
|||||||
Reference in New Issue
Block a user