Skip to content

Commit ef5abc0

Browse files
committed
fix: wip
1 parent c7d042b commit ef5abc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Eager/Related.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function resolve(RestifyRequest $request, Repository $repository): self
9292

9393
$paginator = $repository->resource->relationLoaded($this->getRelation())
9494
? $repository->resource->{$this->getRelation()}
95-
: $repository->resource->{$this->getRelation()}()->select($this->getColumns());
95+
: $repository->resource->{$this->getRelation()}();
9696

9797
if (is_null($paginator)) {
9898
$this->value = null;

0 commit comments

Comments
 (0)