diff --git a/dist/index.js b/dist/index.js index 3227561..3c86988 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33,7 +33,7 @@ function run() { return __awaiter(this, void 0, void 0, function* () { try { const url = core_1.getInput('url'); - core_1.info('Sending POST request...'); + core_1.info(`Sending POST request to ${url}`); const data = parseJsonSafely(core_1.getInput('data')); const headers = parseJsonSafely(core_1.getInput('headers')); yield axios_1.default.post(url, data, { diff --git a/package.json b/package.json index 073959c..2a4e183 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "post-api-call-action", - "version": "1.0.0", + "version": "1.0.1", "private": true, "description": "Send a POST request action", "main": "lib/main.js", diff --git a/src/main.ts b/src/main.ts index 6b90ed8..a7eb4f9 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,7 +12,7 @@ const parseJsonSafely = (jsonString: string): any => { async function run(): Promise { try { const url: string = getInput('url'); - info('Sending POST request...'); + info(`Sending POST request to ${url}`); const data = parseJsonSafely(getInput('data')); const headers = parseJsonSafely(getInput('headers')); await axios.post(url, data, {