This commit is contained in:
vladislav 2026-08-17 12:29:46 -04:00
parent c037a70704
commit 8f37df1c0d
Signed by: Vladislav
GPG Key ID: D97C9E5E4860EE45
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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}},