mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 00:14:02 +00:00
chore: Refactor source assignment in api_answer route
This commit is contained in:
1 parent
2790bda1e9
commit
425803a1b6
1 file changed
+1
-1
@@ -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 (
|
||||
|
||||
Reference in new issue
Block a user