Skip to content

Commit 49520f6

Browse files
mcdurdinmjimenez98Sharra-writes
authored
Use new Date() in log function in automatically-redelivering-failed-deliveries-for-a-repository-webhook.md (#44806)
Co-authored-by: Miguel Jimenez <10281272+mjimenez98@users.noreply.github.com> Co-authored-by: Sharra-writes <sharra-writes@github.com>
1 parent d1fb304 commit 49520f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/webhooks/using-webhooks/automatically-redelivering-failed-deliveries-for-a-repository-webhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ async function checkAndRedeliverWebhooks() {
200200
failedDeliveryIDs.length
201201
} failed webhook deliveries out of ${
202202
deliveries.length
203-
} total deliveries since ${Date(lastWebhookRedeliveryTime)}.`
203+
} total deliveries since ${new Date(Number(lastWebhookRedeliveryTime))}.`
204204
);
205205
} catch (error) {
206206
// If there was an error, log the error so that it appears in the workflow run log, then throw the error so that the workflow run registers as a failure.

0 commit comments

Comments
 (0)