mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 13:17:42 +00:00
set label so that trending goes through for now
This commit is contained in:
parent
80256b0465
commit
077cf7cf09
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ func (a *api) createWatcherHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
case "subreddit":
|
case "subreddit":
|
||||||
watcher.Type = domain.SubredditWatcher
|
watcher.Type = domain.SubredditWatcher
|
||||||
case "trending":
|
case "trending":
|
||||||
|
watcher.Label = "trending"
|
||||||
watcher.Type = domain.TrendingWatcher
|
watcher.Type = domain.TrendingWatcher
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue