mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue