Skip to content

Commit

Permalink
updated_version_1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvaneshkm committed Sep 27, 2024
1 parent 8c405c3 commit e604780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbsconnector/databases.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,5 @@ def upload_object(
def load_object(self, database: str, collection_name: str, object_name: str):
database_connect = self.mongoclinet[database]
collection = database_connect[collection_name]
object_ = collection.find_one({"obajct_name": object_name})
object_ = collection.find_one({"object_name": object_name})
return object_

0 comments on commit e604780

Please sign in to comment.