From 1674e4c2cf0615e5fb667864b31cf581a66592e3 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 23 May 2026 17:54:47 +0000 Subject: [PATCH] Changes Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com> --- supabase/functions/validate-telegram-bot/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/supabase/functions/validate-telegram-bot/index.ts b/supabase/functions/validate-telegram-bot/index.ts index b4c02f4..b940bbe 100644 --- a/supabase/functions/validate-telegram-bot/index.ts +++ b/supabase/functions/validate-telegram-bot/index.ts @@ -221,6 +221,7 @@ Deno.serve(async (req) => { headers: { "Content-Type": "application/json", Authorization: `Bearer ${serviceKey}`, + "X-Internal-Secret": Deno.env.get("INTERNAL_FUNCTION_SECRET") ?? "", }, body: JSON.stringify({ agent_instance_id: agent.id }), }).catch((err) => console.error("auto-provision fetch error:", err));