From afbd095337531bcc6ac7670f8bed62f2a349dcc4 Mon Sep 17 00:00:00 2001 From: dev Date: Wed, 7 Feb 2024 19:22:17 +0530 Subject: [PATCH] Debugging 500 status code --- dist/index.js | 3 ++- src/index.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index fde26b9..718707d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -37514,12 +37514,13 @@ async function run() { const group = core.getInput('group'); // Construct data payload + const today = new Date(); const data = { artifact: artifactName, comment: `Entities from ${pageUrl}`, publisher: publisherUri, group: group, - version: Date.now(), + version: today.toISOString(), downloadUrl: downloadUrl, downloadFile: downloadFile, reportCallbackUrl: 'https://huginn-staging.herokuapp.com/users/1/web_requests/273/databus' diff --git a/src/index.js b/src/index.js index 835d29c..5fffe25 100644 --- a/src/index.js +++ b/src/index.js @@ -13,12 +13,13 @@ async function run() { const group = core.getInput('group'); // Construct data payload + const today = new Date(); const data = { artifact: artifactName, comment: `Entities from ${pageUrl}`, publisher: publisherUri, group: group, - version: Date.now(), + version: today.toISOString(), downloadUrl: downloadUrl, downloadFile: downloadFile, reportCallbackUrl: 'https://huginn-staging.herokuapp.com/users/1/web_requests/273/databus'