From 077cf7cf093129a3ca1465b89d34a8837db946db Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Thu, 14 Oct 2021 01:31:37 -0400 Subject: [PATCH] set label so that trending goes through for now --- internal/api/watcher.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/api/watcher.go b/internal/api/watcher.go index 4700e82..6a6278f 100644 --- a/internal/api/watcher.go +++ b/internal/api/watcher.go @@ -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 }