Webhook not invoking Edge Function
I have in my Supabase two projects and recently I began to create my first Edge function in one of the project. I achieved to have everything running, so I went ahead to follow the same process for the other project, however, the webhook that I have created is not invoking the Edge Function that I have deployed at all.
I have created the webhook so it invokes my already deployed edge function when a new row is inserted in one of my tables. The Edge Function is pretty simple as I just want to check that the flow process is running fine. This is the Edge Function:
However, when a new row is added in the specified table, I go to invokations or Logs in the Edge Functions and nothing shows up. It is as there is no webhook at all. I wonder what could be the issue as in my other project things work just fine and I see no difference between them.
I have created the webhook so it invokes my already deployed edge function when a new row is inserted in one of my tables. The Edge Function is pretty simple as I just want to check that the flow process is running fine. This is the Edge Function:
import { serve } from "https://deno.land/std@0.168.0/http/server.ts";
console.log("Hello from Functions!")
serve(async (req) => {
const payload = await req.json()
console.log(JSON.stringify(payload, null, 2))
return new Response("ok");
});However, when a new row is added in the specified table, I go to invokations or Logs in the Edge Functions and nothing shows up. It is as there is no webhook at all. I wonder what could be the issue as in my other project things work just fine and I see no difference between them.