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}) => {