replace NBSP with SP
All checks were successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

How did this get here in the first place?
This commit is contained in:
Johann150 2023-03-26 10:57:12 +02:00
parent 77602203b2
commit 701054b86e
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -36,7 +36,7 @@ export class ApiError extends Error {
break;
case 429:
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;
}