Update update-topics.yaml
This commit is contained in:
parent
96103269c7
commit
71ab30432b
1 changed files with 2 additions and 2 deletions
4
.github/workflows/update-topics.yaml
vendored
4
.github/workflows/update-topics.yaml
vendored
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue