Skip to content

Commit

Permalink
fix: Adjust wc method call
Browse files Browse the repository at this point in the history
  • Loading branch information
mguellsegarra committed Oct 19, 2023
1 parent 4574880 commit c65a263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class Client {
const { service = "object", options = {} } = data;
const { host, token } = this;

if (service != "common" && service != "db" && !token) {
if (service != "common" && service != "db" && service != "wc" && !token) {
throw new Error("You must login first");
}

Expand Down

0 comments on commit c65a263

Please sign in to comment.