This commit is contained in:
vladislav 2026-09-01 21:17:34 -04:00
parent f52844c359
commit 7e1fec5bb4
Signed by: Vladislav
GPG Key ID: D97C9E5E4860EE45
2 changed files with 2 additions and 2 deletions

View File

@ -3256,7 +3256,7 @@
" type_item=\"delivery\",\n",
" title=\"Картина продана\",\n",
" link=\"/profile/delivery\",\n",
" text=f\"{str(existing['post']['title'])}\"\n",
" text=f\"{str(existing.get('post',{}).get('title'))}\"\n",
" ))\n",
"\n",
" new_doc = {**existing, **update_data, \"notify\": notify.upserted_id}\n",

View File

@ -2422,7 +2422,7 @@ async def sale_painting(
type_item="delivery",
title="Картина продана",
link="/profile/delivery",
text=f"{str(existing['post']['title'])}"
text=f"{str(existing.get('post',{}).get('title'))}"
))
new_doc = {**existing, **update_data, "notify": notify.upserted_id}