Fixed returned value type

no issue

- The return type was incorrectly declared thworing error during type checking
This commit is contained in:
Naz 2021-10-26 10:48:27 +04:00
parent c8d840c211
commit bd4204dbc5

View File

@ -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<boolean>}
*/ */
async checkIfAnyOverLimit() { async checkIfAnyOverLimit() {
for (const limit in this.limits) { for (const limit in this.limits) {