Skip to content

Commit

Permalink
fix model instance
Browse files Browse the repository at this point in the history
  • Loading branch information
bezhanSalleh committed Jan 25, 2024
1 parent 3270605 commit c008b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FilamentExceptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c008b7c

Please sign in to comment.