From af103a0a01d2a7db6ea7589a80773f64aaaddbb3 Mon Sep 17 00:00:00 2001 From: Nitishkumar Singh Date: Thu, 28 Sep 2023 19:27:27 +0530 Subject: [PATCH] revert to production url Signed-off-by: Nitishkumar Singh --- dist/index.js | 2 +- src/run.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 9ff9a87..b09bc07 100644 --- a/dist/index.js +++ b/dist/index.js @@ -18280,7 +18280,7 @@ const run = async (context) => { repo: core.getInput('repo') || payload.repository.full_name, meta: { user: login } } - return got.post('https://events.stg.cto.ai/', { + return got.post('https://events.cto.ai/', { headers: { Authorization: `Bearer ${token}`, 'x-ops-mechanism': 'github-action' diff --git a/src/run.js b/src/run.js index b54b292..c0957ff 100644 --- a/src/run.js +++ b/src/run.js @@ -86,7 +86,7 @@ const run = async (context) => { repo: core.getInput('repo') || payload.repository.full_name, meta: { user: login } } - return got.post('https://events.stg.cto.ai/', { + return got.post('https://events.cto.ai/', { headers: { Authorization: `Bearer ${token}`, 'x-ops-mechanism': 'github-action'