mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
use better method name
This commit is contained in:
parent
1cdde6d777
commit
be9b476151
1 changed files with 2 additions and 2 deletions
|
|
@ -541,7 +541,7 @@ class ProjectsModel(object):
|
|||
self._projects_cache.update_data(project_items)
|
||||
return self._projects_cache.get_data()
|
||||
|
||||
def _fetch_projects_bc(self) -> list[dict[str, Any]]:
|
||||
def _fetch_graphql_projects(self) -> list[dict[str, Any]]:
|
||||
"""Fetch projects using GraphQl.
|
||||
|
||||
This method was added because ayon_api had a bug in 'get_projects'.
|
||||
|
|
@ -565,7 +565,7 @@ class ProjectsModel(object):
|
|||
return projects
|
||||
|
||||
def _query_projects(self) -> list[ProjectItem]:
|
||||
projects = self._fetch_projects_bc()
|
||||
projects = self._fetch_graphql_projects()
|
||||
|
||||
user = ayon_api.get_user()
|
||||
pinned_projects = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue