Skip to content

Commit

Permalink
put the correct attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
gmauro committed Nov 5, 2024
1 parent a1bf4ba commit 733d947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gwasstudio/mongo/mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def modify(self, **kwargs):
with self.mec:
self.mdb_obj.modification_date = datetime.datetime.now()
result = self.mdb_obj.modify(**kwargs)
logger.info("{} modified".format(self.uk))
logger.info("{} modified".format(self.unique_key))
else:
logger.warning("No attributes to update, skipping the operation")
return result
Expand All @@ -109,5 +109,5 @@ def delete(self, **kwargs):
if self.ensure_is_mapped("delete"):
with self.mec:
self.mdb_obj.delete(**kwargs)
logger.info("{} deleted".format(self.uk))
logger.info("{} deleted".format(self.unique_key))
self.mdb_obj.id = None

0 comments on commit 733d947

Please sign in to comment.