From bd4204dbc5fd9fef82e67ce4dd236209e1c69e26 Mon Sep 17 00:00:00 2001 From: Naz Date: Tue, 26 Oct 2021 10:48:27 +0400 Subject: [PATCH] Fixed returned value type no issue - The return type was incorrectly declared thworing error during type checking --- ghost/limit-service/lib/limit-service.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost/limit-service/lib/limit-service.js b/ghost/limit-service/lib/limit-service.js index 4fb90f542d..1ec74fbb14 100644 --- a/ghost/limit-service/lib/limit-service.js +++ b/ghost/limit-service/lib/limit-service.js @@ -118,9 +118,9 @@ class LimitService { } /** - * Checks if any of the configured limits acced + * Checks if any of the configured limits acceded * - * @returns {boolean} + * @returns {Promise} */ async checkIfAnyOverLimit() { for (const limit in this.limits) {