Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Update schedule.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pureink authored Aug 12, 2021
1 parent 2111bb9 commit 9ba82f7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions schedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ export async function handleScheduled(event) {
try {
const resp = await fetch(sub[i].url);
const text = await resp.text();
if (text.slice(0, 5) != "<?xml" && text.slice(0, 5) != "<rss ")
throw "wrong xml";
const id = identify(text);
console.log(id);
if (id != sub[i].id) {
Expand Down

0 comments on commit 9ba82f7

Please sign in to comment.