From c5522a81a67a59d5e9d90151cb28f33cfcc29e5e Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Wed, 31 Jul 2024 16:04:36 +1200 Subject: [PATCH] fix: bugger --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index edc49ad..f8e3d7f 100644 --- a/index.js +++ b/index.js @@ -38,7 +38,7 @@ async function updateBadge(body) { if (response.status === 409) { // This means likely the badge already exists. Try to patch console.log("Running patch on %s", hostUrl); - response2 = await fetch(hostUrl, { + const response2 = await fetch(hostUrl, { method: 'PATCH', headers, body,