Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Dec 5, 2024
1 parent 0433a70 commit 507f349
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/s3routes/routes/routeDELETE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ export default function routeDELETE(
});
log.debug(`condition on callAPO method ${err && (
!(err instanceof ArsenalError) ||
(!err.is.NoSuchKey && err.is.NoSuchVersion)
(!err.is.NoSuchKey && !err.is.NoSuchVersion)
)}`);
if (err && (
!(err instanceof ArsenalError) ||
(!err.is.NoSuchKey && err.is.NoSuchVersion)
(!err.is.NoSuchKey && !err.is.NoSuchVersion)
)) {
return routesUtils.responseNoBody(err, corsHeaders,
response, undefined, log);
Expand Down

0 comments on commit 507f349

Please sign in to comment.