Skip to content

Commit

Permalink
Fix missing exlamation mark in route delete route
Browse files Browse the repository at this point in the history
Issue: ARSN-448
  • Loading branch information
williamlardier committed Nov 29, 2024
1 parent e601390 commit a0eb913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/s3routes/routes/routeDELETE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function routeDELETE(
*/
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 a0eb913

Please sign in to comment.