Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Invalidate params for every article search
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Feb 16, 2024
1 parent 07f21af commit 8877ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/articles/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async def index(
page: int | None = 1,
) -> ArticleSearchResults:
website_api = WebsiteArticles()
# website_api.params = {} # TODO: Why are params persisting?
website_api.params = {} # TODO: Why are params persisting?
if q:
website_api.add_query(q)
if type:
Expand Down

0 comments on commit 8877ca0

Please sign in to comment.