I think this has nothing to do with Nova.
When you force delete a model Laravel will fire a deleted event and a forceDeleted event.
May 20, 2020
3
Level 5
Nova, observer, deleted and forceDeleted events
I have an observer for a model listening for the deleted and forceDeleted events (triggering an api call by a queued job).
When I (soft)delete the model in Nova the deleted event is fired, but when the model is being forceDeleted in Nova both the deleted and the forceDeleted events are fired.
Anyone had this before? And how did you fixed it?
Level 22
Please or to participate in this conversation.