set label so that trending goes through for now

This commit is contained in:
Andre Medeiros 2021-10-14 01:31:37 -04:00
parent 80256b0465
commit 077cf7cf09

View file

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