Update update-topics.yaml

This commit is contained in:
Michael Telatynski 2023-10-25 14:00:06 +01:00 committed by GitHub
parent 54820501f3
commit 875657eb45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {