mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 04:14:42 +00:00
(feat:conv) save the conv with key
This commit is contained in:
1 parent
104c6ef457
commit
3e02d5a56f
2 files changed
+45
-33
No files matched your search
@@ -1287,6 +1287,9 @@ class GetMessageAnalytics(Resource):
|
||||
}
|
||||
if api_key:
|
||||
match_stage["$match"]["api_key"] = api_key
|
||||
else:
|
||||
match_stage["$match"]["api_key"] = {"$exists": False}
|
||||
|
||||
message_data = conversations_collection.aggregate(
|
||||
[
|
||||
match_stage,
|
||||
|
||||
Reference in new issue
Block a user