diff --git a/src/FilamentExceptions.php b/src/FilamentExceptions.php index 6b2e55b..3d0bfe4 100755 --- a/src/FilamentExceptions.php +++ b/src/FilamentExceptions.php @@ -68,7 +68,7 @@ public function stringify($data): array public function store(array $data): bool { try { - $this->model()::query()->create($data); + static::getModel()::create($data); return true; } catch (Throwable $e) {