diff options
Diffstat (limited to 'client/src/app/shared/rest')
-rw-r--r-- | client/src/app/shared/rest/rest-extractor.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/rest/rest-extractor.service.ts b/client/src/app/shared/rest/rest-extractor.service.ts index 468ac3e32..0d5b6d6f3 100644 --- a/client/src/app/shared/rest/rest-extractor.service.ts +++ b/client/src/app/shared/rest/rest-extractor.service.ts | |||
@@ -71,7 +71,7 @@ export class RestExtractor { | |||
71 | const secondsLeft = err.headers.get('retry-after') | 71 | const secondsLeft = err.headers.get('retry-after') |
72 | if (secondsLeft) { | 72 | if (secondsLeft) { |
73 | const minutesLeft = Math.floor(parseInt(secondsLeft, 10) / 60) | 73 | const minutesLeft = Math.floor(parseInt(secondsLeft, 10) / 60) |
74 | errorMessage = this.i18n('Too many attempts, please try again after {{ minutesLeft }} minutes.', { minutesLeft }) | 74 | errorMessage = this.i18n('Too many attempts, please try again after {{minutesLeft}} minutes.', { minutesLeft }) |
75 | } else { | 75 | } else { |
76 | errorMessage = this.i18n('Too many attempts, please try again later.') | 76 | errorMessage = this.i18n('Too many attempts, please try again later.') |
77 | } | 77 | } |