Skip to content

Commit

Permalink
fix: Add options parameter to getConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
mguellsegarra committed Oct 18, 2023
1 parent cdf8ca4 commit 3468e93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,11 @@ export class Client {
});
}

public async getConfig(): Promise<any> {
public async getConfig(options?: RequestOptions): Promise<any> {
return await this._fetch({
service: "wc",
payload: ["get_config"],
options,
});
}
}

0 comments on commit 3468e93

Please sign in to comment.