We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9942175 commit d43f00bCopy full SHA for d43f00b
src/Fields/EagerField.php
@@ -58,7 +58,7 @@ public function resolve($repository, $attribute = null)
58
->eagerState();
59
} catch (AuthorizationException $e) {
60
if(is_null($relatedModel)) {
61
- abort(403, "Related model is null.");
+ abort(403, "You are not authorized to perform this action.");
62
}
63
64
$class = get_class($relatedModel);
0 commit comments