diff --git a/supabase/functions/run-cleanup-jobs/index.ts b/supabase/functions/run-cleanup-jobs/index.ts index 92dd8169..8a58421e 100644 --- a/supabase/functions/run-cleanup-jobs/index.ts +++ b/supabase/functions/run-cleanup-jobs/index.ts @@ -11,9 +11,13 @@ */ import { createClient } from 'https://esm.sh/@supabase/supabase-js@2.57.4'; -import { corsHeaders } from '../_shared/cors.ts'; import { edgeLogger } from '../_shared/logger.ts'; +const corsHeaders = { + 'Access-Control-Allow-Origin': '*', + 'Access-Control-Allow-Headers': 'authorization, x-client-info, apikey, content-type', +}; + interface CleanupResult { idempotency_keys?: { deleted: number;