From 8f37df1c0d5bba399ff8538badd680321b9d96d73834e59fa125c365a9de8c14 Mon Sep 17 00:00:00 2001 From: vladislav Date: Mon, 17 Aug 2026 12:29:46 -0400 Subject: [PATCH] hotfix --- main.ipynb | 2 +- main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.ipynb b/main.ipynb index 81a87b2..42dab91 100644 --- a/main.ipynb +++ b/main.ipynb @@ -4600,7 +4600,7 @@ " {\"user._id\": user.get('_id')},\n", " {\"receiver._id\": user.get('_id')}\n", " ],\n", - " 'exhibition_id': ObjectId(exhibition_id),\n", + " 'exhibition_id': exhibition_id,\n", " 'prod': PROD,\n", " }},\n", " {\"$sort\": {\"_id\": -1}},\n", diff --git a/main.py b/main.py index 71b65ff..ad433d1 100644 --- a/main.py +++ b/main.py @@ -3496,7 +3496,7 @@ async def profile_delivery_by_exhibition(request: Request, exhibition_id:str, us {"user._id": user.get('_id')}, {"receiver._id": user.get('_id')} ], - 'exhibition_id': ObjectId(exhibition_id), + 'exhibition_id': exhibition_id, 'prod': PROD, }}, {"$sort": {"_id": -1}},