Skip to content

Commit 003bbb3

Browse files
committed
fix: wpi
1 parent 0030617 commit 003bbb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Repositories/Repository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ protected function getId(RestifyRequest $request): ?string
11251125
public function jsonSerialize()
11261126
{
11271127
return $this->serializeForShow(
1128-
$this->request
1128+
$this->request ?? app(RestifyRequest::class)
11291129
);
11301130
}
11311131

0 commit comments

Comments
 (0)