From a0eb9130b6b608f45d71f00ddf32ddfdbb5294b0 Mon Sep 17 00:00:00 2001 From: williamlardier Date: Fri, 29 Nov 2024 13:34:45 +0100 Subject: [PATCH] Fix missing exlamation mark in route delete route Issue: ARSN-448 --- lib/s3routes/routes/routeDELETE.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/s3routes/routes/routeDELETE.ts b/lib/s3routes/routes/routeDELETE.ts index 484799c10..d6526795d 100644 --- a/lib/s3routes/routes/routeDELETE.ts +++ b/lib/s3routes/routes/routeDELETE.ts @@ -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);