diff --git a/src/Repository/Repository.php b/src/Repository/Repository.php index 61344ce..cd03f7a 100644 --- a/src/Repository/Repository.php +++ b/src/Repository/Repository.php @@ -204,7 +204,7 @@ public function getBy($column, $value, $columns = ['*']) */ public function destroy($ids) { - $result = $this->model->destroy($ids); + $result = $this->model->delete($ids); $this->resetModel();