From 71ab30432b2c582f6fc0205966f8e985da8e2a69 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 10 Jul 2023 11:16:18 +0100 Subject: [PATCH] Update update-topics.yaml --- .github/workflows/update-topics.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-topics.yaml b/.github/workflows/update-topics.yaml index ee1febcb4..c4ba39b1a 100644 --- a/.github/workflows/update-topics.yaml +++ b/.github/workflows/update-topics.yaml @@ -44,7 +44,7 @@ jobs: "Content-Type": "application/json", "Authorization": `Bearer ${TOKEN}`, }; - const res = await fetch(apiUrl, { + let res = await fetch(apiUrl, { method: "GET", headers, }); @@ -56,7 +56,7 @@ jobs: return; } - const res = await fetch(apiUrl, { + res = await fetch(apiUrl, { method: "PUT", body: { ...data,