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="
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.
Comments
Similar requests
Storage: Upload to Bucket from Url
6 votes · 0 comments
Creating tables related to bucket files (demo + idea)
1 vote · 0 comments
[storage-js] Skip `.from('bucket')` storage calls syntax for `createSignedUrls` function
1 vote · 0 comments
# Proposal: Virtual Storage Columns (Seamless DB-to-Storage Mapping)
1 vote · 0 comments
Add Storage Backups in Sync with Database Backups
4 votes · 0 comments
No comments yet.