mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Fix - added missed argument
This commit is contained in:
parent
3099fdc325
commit
840e3fe431
1 changed files with 2 additions and 2 deletions
|
|
@ -243,9 +243,9 @@ class SubsetsModel(TreeModel, BaseRepresentationModel):
|
|||
|
||||
# update availability on active site when version changes
|
||||
if self.sync_server.enabled and version:
|
||||
site = self.active_site
|
||||
query = self._repre_per_version_pipeline([version["_id"]],
|
||||
site)
|
||||
self.active_site,
|
||||
self.remote_site)
|
||||
docs = list(self.dbcon.aggregate(query))
|
||||
if docs:
|
||||
repre = docs.pop()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue