Commit 328420e1 authored by Aral Balkan's avatar Aral Balkan
Browse files

Fix assignment to constant

parent 1e329060
......@@ -171,7 +171,7 @@ class Authorisation extends EventEmitter {
const retryAfterHeader = result.headers['Retry-After']
let pollingDuration = 1000
if (retryAfterHeader) {
retryAfterHeader = parseInt(retryAfterHeader)
pollingDuration = parseInt(retryAfterHeader)
}
log(` ⌚ ❨auto-encrypt❩ Authorisation not valid yet for domain ${this.domain}. Waiting to check again in ${pollingDuration/1000} second${pollingDuration === 1000 ? '' : 's'}…`)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment