mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
fix attribute name
This commit is contained in:
parent
80b5c0c064
commit
7cd6a423ea
1 changed files with 2 additions and 2 deletions
|
|
@ -784,9 +784,9 @@ class MongoSettingsHandler(SettingsHandler):
|
|||
"last_saved_info": last_saved_info.to_document_data()
|
||||
}
|
||||
if not system_settings_doc:
|
||||
self.collections.insert_one(new_system_settings_doc)
|
||||
self.collection.insert_one(new_system_settings_doc)
|
||||
else:
|
||||
self.collections.update_one(
|
||||
self.collection.update_one(
|
||||
{"_id": system_settings_doc["_id"]},
|
||||
{"$set": new_system_settings_doc}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue