Skip to content

Commit

Permalink
Forbidden not NotFound
Browse files Browse the repository at this point in the history
  • Loading branch information
driusan committed Feb 21, 2023
1 parent df7d011 commit a4784be
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -253,7 +253,7 @@ class Unresolved extends Endpoint implements ETagCalculator
true
);
if ($instrument->_hasAccess($user) == false) {
return new \LORIS\Http\Response\JSON\NotFound(
return new \LORIS\Http\Response\JSON\Forbidden(
'Permission denied for ' . $conflict['TableName']
);
}
Expand Down

0 comments on commit a4784be

Please sign in to comment.