fix
This commit is contained in:
parent
f52844c359
commit
7e1fec5bb4
@ -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",
|
||||
|
||||
2
main.py
2
main.py
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user