Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
williamlardier committed Jul 10, 2023
1 parent 6b66ba8 commit b3384d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/api/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ const api = {
}
}
// Specific APIs are not checking any ACLs or Bucket Policies.
//
if (method === 'bucketPut' || apimethod === 'serviceGet' && isImplicitDeny) {
if (apiMethod === 'bucketPut' || apiMethod === 'serviceGet' && isImplicitDeny) {
return errors.AccessDenied;
}
return { returnTagCount, isImplicitDeny };
Expand Down

0 comments on commit b3384d3

Please sign in to comment.