Update update-topics.yaml

This commit is contained in:
Michael Telatynski 2023-07-10 11:16:18 +01:00 committed by GitHub
parent 96103269c7
commit 71ab30432b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ jobs:
"Content-Type": "application/json", "Content-Type": "application/json",
"Authorization": `Bearer ${TOKEN}`, "Authorization": `Bearer ${TOKEN}`,
}; };
const res = await fetch(apiUrl, { let res = await fetch(apiUrl, {
method: "GET", method: "GET",
headers, headers,
}); });
@ -56,7 +56,7 @@ jobs:
return; return;
} }
const res = await fetch(apiUrl, { res = await fetch(apiUrl, {
method: "PUT", method: "PUT",
body: { body: {
...data, ...data,