Add an "Exclude" list

I can’t seem to get this working properly.
The bun script executes and lists out all of the filtered events. Finds plenty, even says Deleted: event underneath. But nothing gets deleted - if I execute it again right after it presents the same found events, saying deleted etc.
Any ideas what could cause this ?

Sorry friend. You must uncomment this line. I forgot to uncomment it:

// await fetch(`http://localhost:5600/api/0/buckets/${BUCKET}/events/${event.id}`, { method: 'DELETE' });

I’ll try to edit the original message. edit: it’s not letting me edit. Oh well.

Hope it works for you.

1 Like

You’re a legend mate ! thank you :grinning: