diff --git a/index.js b/index.js index 710a157..94bc061 100644 --- a/index.js +++ b/index.js @@ -87,7 +87,13 @@ class toggltrack extends InstanceBase { this.config = config this.gotOptions.headers = this.auth() - this.getWorkspace() + + if (this.gotOptions.headers != null) { + this.getWorkspace().then( + this.getCurrentTimer() + ) + } + this.updateActions() this.updateVariables() }