From 7e90b6f4dd7c9075e097001f9d3648dff433ca6a Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Wed, 26 Aug 2020 16:06:12 +0200 Subject: [PATCH] fix http-status-codes usage --- packages/health-check/src/basicChecks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/health-check/src/basicChecks.js b/packages/health-check/src/basicChecks.js index 3b7e7b9d..ace17475 100644 --- a/packages/health-check/src/basicChecks.js +++ b/packages/health-check/src/basicChecks.js @@ -31,7 +31,7 @@ function downloadCheck(done) { done({ name: "download_file", - up: statusCode === HttpStatus.OK, + up: statusCode === StatusCodes.OK, statusCode, time: catchRequestTime(time), critical: true,