FeatureFuel
1

Allow Webhook to watch a specific storage bucket rather than an entire table

Source: supabase/supabase#22879 · opened by @danvoyce
I have a Webhook that is currently being triggered when an insert happens on storage objects. The edge function that is being called is actually modifying the image and inserting it into a different storage bucket, and thus triggering the edge function again. I'm having to do the following check record.bucket_id !== SOURCE_BUCKET_ID to prevent an infinite loop. I could also setup a separate project to house the source objects, however it would be more elegant / simpler if I could select a bucket rather than the whole table.

Many thanks and amazing work as always!

<img width="771" alt="Screenshot 2024-04-18 at 17 11 46" src="

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests