From 96c09450b8ac4e21274ed719653613acd1a618c0 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 3 Mar 2019 19:45:05 -0600 Subject: [PATCH] Fix column name ucid in jobs --- src/invidious/jobs.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/jobs.cr b/src/invidious/jobs.cr index ccc5a628..a5acd4cf 100644 --- a/src/invidious/jobs.cr +++ b/src/invidious/jobs.cr @@ -157,7 +157,7 @@ def subscribe_to_feeds(db, logger, key, config) if config.use_pubsub_feeds spawn do loop do - db.query_all("SELECT ucid FROM channels WHERE subscribed = false") do |rs| + db.query_all("SELECT id FROM channels WHERE subscribed = false") do |rs| ucid = rs.read(String) response = subscribe_pubsub(ucid, key, config)