From e92120654bdbcd1d39e931d30f17d9d540807c71 Mon Sep 17 00:00:00 2001 From: Karli Date: Tue, 23 Sep 2025 17:29:50 +0300 Subject: [PATCH] fix db function --- .../20250827090151_bo_run_results_sync.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/supabase/migrations-env-specific/20250827090151_bo_run_results_sync.sql b/supabase/migrations-env-specific/20250827090151_bo_run_results_sync.sql index 3bddde6..f479eb1 100644 --- a/supabase/migrations-env-specific/20250827090151_bo_run_results_sync.sql +++ b/supabase/migrations-env-specific/20250827090151_bo_run_results_sync.sql @@ -3,13 +3,13 @@ RETURNS void LANGUAGE plpgsql AS $$ BEGIN - select net.http_post( + PERFORM net.http_post( url := 'https://test.medreport.ee/api/job/sync-analysis-results', headers := jsonb_build_object( 'Content-Type', 'application/json', 'x-jobs-api-key', 'fd26ec26-70ed-11f0-9e95-431ac3b15a84' ) - ) as request_id; + ); END; $$;