Update update-topics.yaml
This commit is contained in:
parent
54820501f3
commit
875657eb45
1 changed files with 5 additions and 0 deletions
5
.github/workflows/update-topics.yaml
vendored
5
.github/workflows/update-topics.yaml
vendored
|
@ -62,6 +62,11 @@ jobs:
|
||||||
headers,
|
headers,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (!res.ok) {
|
||||||
|
console.log(roomId, "failed to fetch", await res.text());
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const data = await res.json();
|
const data = await res.json();
|
||||||
const topic = data.topic.replace(regex, releaseTopic);
|
const topic = data.topic.replace(regex, releaseTopic);
|
||||||
if (topic === data.topic) {
|
if (topic === data.topic) {
|
||||||
|
|
Loading…
Reference in a new issue