summaryrefslogtreecommitdiff
path: root/api/handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/handlers.go')
-rw-r--r--api/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/handlers.go b/api/handlers.go
index 93f605e..d3a08fd 100644
--- a/api/handlers.go
+++ b/api/handlers.go
@@ -228,7 +228,7 @@ func (h *Handler) GetArticle(w http.ResponseWriter, r *http.Request) {
}
baseURL := "https://api.enterprise.wikimedia.com/v2/structured-contents/" + url.QueryEscape(article)
- queryURL := baseURL + "?limit=1&filters[project]=en.wikipedia.org"
+ queryURL := baseURL + "?limit=1"
req, err := http.NewRequestWithContext(ctx, "GET", queryURL, nil)
if err != nil {