mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
use right keys to query anatomy overrides documents
This commit is contained in:
parent
3d1ad12581
commit
11d4a34fe3
1 changed files with 2 additions and 2 deletions
|
|
@ -995,7 +995,7 @@ class MongoSettingsHandler(SettingsHandler):
|
|||
# QUESTION cache?
|
||||
if version == LEGACY_SETTINGS_VERSION:
|
||||
return self.collection.find_one({
|
||||
"type": PROJECT_SETTINGS_KEY,
|
||||
"type": PROJECT_ANATOMY_KEY,
|
||||
"is_default": True
|
||||
})
|
||||
|
||||
|
|
@ -1003,7 +1003,7 @@ class MongoSettingsHandler(SettingsHandler):
|
|||
version = self._current_version
|
||||
|
||||
return self.collection.find_one({
|
||||
"type": self._project_settings_key,
|
||||
"type": self._project_anatomy_key,
|
||||
"is_default": True,
|
||||
"version": version
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue