Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Site.js
lib
Auto Encrypt
Commits
328420e1
Commit
328420e1
authored
Feb 15, 2021
by
Aral Balkan
Browse files
Fix assignment to constant
parent
1e329060
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Authorisation.js
View file @
328420e1
...
...
@@ -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
'
}
…`
)
...
...
Aral Balkan
@aral
mentioned in issue
#35 (closed)
·
Mar 08, 2021
mentioned in issue
#35 (closed)
mentioned in issue #35
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment