Skip to content

Commit

Permalink
bug fix of api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
debaghtk committed Jun 6, 2021
1 parent 5652d2c commit 09636de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10308,7 +10308,7 @@ data.append("yaml", fs.createReadStream(odetFile));
const url = core.getInput("staging") === 'true' ? "https://odet-staging.herokuapp.com" : "https://app.odet.cloud";
var config = {
method: "post",
url: url,
url: `${url}/services`,
headers: {
"X-ODET-KEY": apiKey,
...data.getHeaders(),
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data.append("yaml", fs.createReadStream(odetFile));
const url = core.getInput("staging") === 'true' ? "https://odet-staging.herokuapp.com" : "https://app.odet.cloud";
var config = {
method: "post",
url: url,
url: `${url}/services`,
headers: {
"X-ODET-KEY": apiKey,
...data.getHeaders(),
Expand Down

0 comments on commit 09636de

Please sign in to comment.