fix
This commit is contained in:
parent
fcab4a8df9
commit
4e5303db36
@ -671,7 +671,7 @@
|
||||
"\n",
|
||||
" if post and post.get(\"user\"):\n",
|
||||
" notified_post_user_ids.update({str(post[\"user\"].get(\"_id\")):1})\n",
|
||||
" \n",
|
||||
" doc.pop('_id')\n",
|
||||
" new_doc = {\n",
|
||||
" **doc,\n",
|
||||
" \"exhibition\": exhibition_to_start,\n",
|
||||
@ -3392,7 +3392,7 @@
|
||||
" link=\"/profile/delivery\",\n",
|
||||
" text=f\"{str(existing.get('post',{}).get('title'))}\"\n",
|
||||
" ))\n",
|
||||
"\n",
|
||||
" \n",
|
||||
" new_doc = {**existing, **update_data, \"notify\": notify.upserted_id}\n",
|
||||
"\n",
|
||||
" result = await delivery_collection.insert_one(new_doc)\n",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user