Fix command for getting list of feeds for WebSub
This commit is contained in:
parent
f927362c0b
commit
cad14ac461
|
@ -131,7 +131,8 @@ func (h *hubIncomingBackend) GetFeeds() []Feed {
|
|||
defer conn.Close()
|
||||
feeds := []Feed{}
|
||||
|
||||
feedKeys, err := redis.Strings(conn.Do("KEYS feed:*"))
|
||||
// FIXME(peter): replace with set of currently checked feeds
|
||||
feedKeys, err := redis.Strings(conn.Do("KEYS", "feed:*"))
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
return feeds
|
||||
|
|
Loading…
Reference in New Issue
Block a user