diff --git a/contracts/tasks/ten-gateway.ts b/contracts/tasks/ten-gateway.ts index 036f61ba57..fcaf2840d3 100644 --- a/contracts/tasks/ten-gateway.ts +++ b/contracts/tasks/ten-gateway.ts @@ -132,7 +132,7 @@ task("ten:gateway:join-authenticate", "Joins and authenticates the gateway for a const req = http.request({ host: '127.0.0.1', port: 3000, - path: '/join/', + path: '/join', method: 'get', }, (response)=>{ if (response.statusCode != 200) { @@ -163,7 +163,7 @@ task("ten:gateway:join-authenticate", "Joins and authenticates the gateway for a const req = http.request({ host: '127.0.0.1', port: 3000, - path: '/authenticate/' + queryString, + path: '/authenticate' + queryString, method: 'post', headers: { 'Content-Type': 'application/json'