1
0
mirror of https://github.com/iv-org/invidious.git synced 2024-12-30 09:46:14 -05:00

Fix column name ucid in jobs

This commit is contained in:
Omar Roth 2019-03-03 19:45:05 -06:00
parent 64cfd2296c
commit 96c09450b8

View File

@ -157,7 +157,7 @@ def subscribe_to_feeds(db, logger, key, config)
if config.use_pubsub_feeds if config.use_pubsub_feeds
spawn do spawn do
loop 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) ucid = rs.read(String)
response = subscribe_pubsub(ucid, key, config) response = subscribe_pubsub(ucid, key, config)