Skip to content

Commit acd35e7

Browse files
committed
don't need data
1 parent e54e581 commit acd35e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/cli/lib/commands/generic.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const client = new Command("client")
7070
let url = new URL(endpoint);
7171
if (url.protocol === "http:" || url.protocol === "https:") {
7272
let apClient = new Client().setEndpoint(endpoint);
73-
let response = await apClient.call('GET', '/health/version', {}, {'x': 'a', 'y': 1, 'z': ['a']});
73+
let response = await apClient.call('GET', '/health/version');
7474
if(response.version) {
7575
globalConfig.setEndpoint(endpoint);
7676
} else {

templates/cli/lib/sdks.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const questionGetEndpoint = [
1414
}
1515
let client = new Client().setEndpoint(value);
1616
try {
17-
let response = await client.call('GET', '/health/version', {}, {'x': 'a', 'y': 1, 'z': ['a']});
17+
let response = await client.call('GET', '/health/version');
1818
if(response.version) {
1919
return true;
2020
} else {

0 commit comments

Comments
 (0)