mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Fixed returned value type
no issue - The return type was incorrectly declared thworing error during type checking
This commit is contained in:
parent
c8d840c211
commit
bd4204dbc5
@ -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() {
|
||||
for (const limit in this.limits) {
|
||||
|
Loading…
Reference in New Issue
Block a user