(20241010) Custom filter logs bug fixed.

This commit is contained in:
2024-10-10 16:42:35 +05:30
parent 4b5002f8c4
commit fa070800a4
+1 -1
View File
@@ -322,7 +322,7 @@ async def get_logs_by_filter(
fetched_logs = await current_app.mongo.find_many(
collection = "logs",
filter = current_app.mongo.dict_to_dot_notation(inbound_data["filter"]),
filter = inbound_data["filter"],
projection = inbound_data.get("projection", {"_id": False}),
sort = inbound_data.get("sort", {"_id": -1}),
limit = inbound_data.get("limit", 25),