Skip to content

Commit 4b2b929

Browse files
authored
Revert "(fix) double slash in path"
1 parent c514fe6 commit 4b2b929

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

templates/cli/lib/client.js.twig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const os = require('os');
2-
const join = require('path').join;
32
const https = require("https");
43
const { fetch, FormData, Agent } = require("undici");
54
const JSONbig = require("json-bigint")({ storeAsString: false });
@@ -100,7 +99,7 @@ class Client {
10099

101100
async call(method, path = "", headers = {}, params = {}, responseType = "json") {
102101
headers = {...this.headers, ...headers};
103-
const url = new URL(join(this.endpoint + path));
102+
const url = new URL(this.endpoint + path);
104103

105104
let body = undefined;
106105

0 commit comments

Comments
 (0)