Skip to content

Commit

Permalink
Change response.
Browse files Browse the repository at this point in the history
  • Loading branch information
navied committed Oct 28, 2020
1 parent fdf0527 commit cbfeadf
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 @@ -2992,7 +2992,7 @@ axios.post(url, data, {
"X-Hub-SHA": process.env.GITHUB_SHA
}
}).then(function (res) {
core.info(`Request sucessful response`)
core.info(`Webhook sent sucessfully`)
}).catch(function (error) {
core.setFailed(`Request failed with status code ${error.response.status}!`);
});
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ axios.post(url, data, {
"X-Hub-SHA": process.env.GITHUB_SHA
}
}).then(function (res) {
core.info(`Request sucessful response`)
core.info(`Webhook sent sucessfully`)
}).catch(function (error) {
core.setFailed(`Request failed with status code ${error.response.status}!`);
});

0 comments on commit cbfeadf

Please sign in to comment.