interface: unnecessary const

This commit is contained in:
J 2021-02-25 23:08:41 +00:00
parent a6d4c3a431
commit 4814d61c48

View File

@ -56,8 +56,7 @@ class GcpManager {
this.#api.gcp.refreshToken()
.then(
(expiresIn: number) => {
const interval = this.refreshInterval(expiresIn);
this.refreshAfter(interval);
this.refreshAfter(this.refreshInterval(expiresIn));
})
.catch(
({reason}) => {