Force projection of Project.category and Project.user.
This is required for finding the home project.
This commit is contained in:
@@ -16,7 +16,7 @@ class Project(List, Find, Create, Post, Update, Delete, Replace):
|
||||
"""Project class wrapping the REST nodes endpoint
|
||||
"""
|
||||
path = "projects"
|
||||
ensure_query_projections = {'permissions': 1}
|
||||
ensure_query_projections = {'permissions': 1, 'category': 1, 'user': 1}
|
||||
|
||||
@classmethod
|
||||
def find_one(cls, params, api=None):
|
||||
|
||||
Reference in New Issue
Block a user