Skip to content

Commit

Permalink
Update InteractsWithRecords.php
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi authored Feb 4, 2024
1 parent 525641a commit 7907ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Widgets/Concerns/InteractsWithRecords.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function resolveRecordRouteBinding(int | string $key): ?Model

protected function getEloquentQuery(): Builder
{
$query = $this->model::query();
$query = app($this->getModel())::query();

// TODO: Scope query to tenant.

Expand Down

0 comments on commit 7907ee0

Please sign in to comment.