Skip to content

Commit

Permalink
Fix basic api loading
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiserdj committed Jul 5, 2021
1 parent a040399 commit 948e14d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,15 @@ class Client {
this.tray = tools.tray(this);
this.config = new Settings(this);
this.credentials = new Credentials(this);
this.api = new Api();
this.darkDev;
this.api;

if (await update()) {
return this;
}

if (this.arg.dev) {
this.darkDev = new DarkDev(this);
this.api = new Api();
console.log("Settings:");
console.log(settings.getSync());
console.log("Arguments:");
Expand Down

0 comments on commit 948e14d

Please sign in to comment.