Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
Merge branch 'add-enterprise-util-aa2' into implement-2
Browse files Browse the repository at this point in the history
  • Loading branch information
schettn committed Aug 19, 2020
2 parents 1f83fb7 + 70f9fa0 commit f9c94a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/enterprise/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import {
class Provider {
public snekclient: SnekClient;

constructor(opsUrl: string) {
this.snekclient = new SnekClient(opsUrl);
constructor(opsUrl: string, client?: SnekClient) {
this.snekclient = client ? client : new SnekClient(opsUrl);
}

/* Enterprise page */
Expand Down

0 comments on commit f9c94a3

Please sign in to comment.