Skip to content

Commit

Permalink
Flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
ateska committed Jan 9, 2025
1 parent ab8fb93 commit 4fa16fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions asab/storage/mongodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ async def execute(self, custom_data: typing.Optional[dict] = None, event_type: t
if ret.get('_v') == 1 and '_c' not in ret:
# If the object is new (version is 1), set the creation datetime
await coll.update_one(
{ id_name: ret[id_name] },
{ '$set': { '_c': ret['_m'] } }
{id_name: ret[id_name]},
{'$set': {'_c': ret['_m']}}
)

self.ObjId = ret[id_name]

if self.Storage.WebhookURIs is not None:
Expand Down

0 comments on commit 4fa16fc

Please sign in to comment.