From 4814d61c48c0212cc9c9806d2d6bb94e31383f61 Mon Sep 17 00:00:00 2001 From: J Date: Thu, 25 Feb 2021 23:08:41 +0000 Subject: [PATCH] interface: unnecessary const --- pkg/interface/src/logic/lib/gcpManager.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/interface/src/logic/lib/gcpManager.ts b/pkg/interface/src/logic/lib/gcpManager.ts index c74c30b46e..97016a7efd 100644 --- a/pkg/interface/src/logic/lib/gcpManager.ts +++ b/pkg/interface/src/logic/lib/gcpManager.ts @@ -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}) => {