diff --git a/api/app/importing.py b/api/app/importing.py index 041bef7..54dddf3 100644 --- a/api/app/importing.py +++ b/api/app/importing.py @@ -24,8 +24,8 @@ async def get_articles( search_query += f'+text%3A"{query}"' if tag: search_query += f'+tags.label%3A"{tag}"' - - params = {"query": query, "size": size, "offset": offset} + + params = {"query": search_query, "size": size, "offset": offset} try: response = await client.search(params)