From 25d711e6834d88c10d21099e53ab333f758b8fc0 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Mon, 18 Jul 2022 22:06:25 +0800 Subject: [PATCH] Fix jsdoc data type --- server/util-server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/util-server.js b/server/util-server.js index f6a0e396c..deacb3a9a 100644 --- a/server/util-server.js +++ b/server/util-server.js @@ -384,7 +384,7 @@ exports.checkCertificate = function (res) { /** * Check if the provided status code is within the accepted ranges - * @param {string} status The status code to check + * @param {number} status The status code to check * @param {string[]} acceptedCodes An array of accepted status codes * @returns {boolean} True if status code within range, false otherwise * @throws {Error} Will throw an error if the provided status code is not a valid range string or code string