diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-03-07 21:49:52 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-03-07 21:49:52 -0600 |
| commit | b9c750101258fce1cf1bc0819bd857a8d61faa84 (patch) | |
| tree | 2518509a318bea81f356087e883274c250be1e63 /src | |
| parent | ae10052aaf816fe6e309dc9f92a1e6f98464a3df (diff) | |
| download | invidious-b9c750101258fce1cf1bc0819bd857a8d61faa84.tar.gz invidious-b9c750101258fce1cf1bc0819bd857a8d61faa84.tar.bz2 invidious-b9c750101258fce1cf1bc0819bd857a8d61faa84.zip | |
Fix typo in pubsub update
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index 26f98b2c..e0e124b8 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -2361,7 +2361,7 @@ post "/feed/webhook/:token" do |env| rss = XML.parse_html(body) rss.xpath_nodes("//feed/entry").each do |entry| id = entry.xpath_node("videoid").not_nil!.content - published = Time.parse_rfc3339(entry.xpath_node("updated").not_nil!.content) + published = Time.parse_rfc3339(entry.xpath_node("published").not_nil!.content) updated = Time.parse_rfc3339(entry.xpath_node("updated").not_nil!.content) video = get_video(id, PG_DB, proxies, region: nil) |
