Since we can't use webhook events as m2m fk, since not all event are collections, we need to delete events that point to non existing collections.
It should be simple, run cron @Cron(...) every day, or every couple of days, that will check all webhooks, and all events in every webhook, to see if it points to non existing collection
Since we can't use webhook events as m2m fk, since not all event are collections, we need to delete events that point to non existing collections.
It should be simple, run cron
@Cron(...)
every day, or every couple of days, that will check all webhooks, and all events in every webhook, to see if it points to non existing collection