chore: Refactor source assignment in api_answer route

This commit is contained in:
Alex 2024-05-24 16:50:00 +01:00
parent 2790bda1e9
commit 425803a1b6

View File

@ -302,7 +302,7 @@ def api_answer():
source = {"active_docs": data_key["source"]}
user_api_key = data["api_key"]
else:
source = {data}
source = data
user_api_key = None
if (