Skip to content

Commit d43f00b

Browse files
committed
wip
1 parent 9942175 commit d43f00b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fields/EagerField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function resolve($repository, $attribute = null)
5858
->eagerState();
5959
} catch (AuthorizationException $e) {
6060
if(is_null($relatedModel)) {
61-
abort(403, "Related model is null.");
61+
abort(403, "You are not authorized to perform this action.");
6262
}
6363

6464
$class = get_class($relatedModel);

0 commit comments

Comments
 (0)