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
1 changed files with 1 additions and 1 deletions

View File

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