mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-22 22:35:27 +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":
|
||||
watcher.Type = domain.SubredditWatcher
|
||||
case "trending":
|
||||
watcher.Label = "trending"
|
||||
watcher.Type = domain.TrendingWatcher
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue