diff --git a/src/Traits/InteractsWithAPI.php b/src/Traits/InteractsWithAPI.php index 9da3ccc..42d6fd8 100644 --- a/src/Traits/InteractsWithAPI.php +++ b/src/Traits/InteractsWithAPI.php @@ -529,12 +529,13 @@ public function delete() if (! $this->hasKey()) { return; } - $this->beforeDeleting(); + + $this->beforeDeleting($query); $response = $query->delete(); if ($response) { - $this->afterDeleting(); + $this->afterDeleting($query); } return $response;