forked from FoundKeyGang/FoundKey
replace NBSP with SP
How did this get here in the first place?
This commit is contained in:
parent
77602203b2
commit
701054b86e
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ export class ApiError extends Error {
|
||||||
break;
|
break;
|
||||||
case 429:
|
case 429:
|
||||||
if (typeof this.info === 'object' && typeof this.info.reset === 'number') {
|
if (typeof this.info === 'object' && typeof this.info.reset === 'number') {
|
||||||
ctx.respose.set('Retry-After', Math.floor(this.info.reset - (Date.now() / 1000)));
|
ctx.respose.set('Retry-After', Math.floor(this.info.reset - (Date.now() / 1000)));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue