File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
services/web/server/src/simcore_service_webserver/projects Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -281,8 +281,7 @@ async def get_project(request: web.Request):
281281
282282 # Adds permalink
283283 await update_or_pop_permalink_in_project (request , project )
284-
285- data = ProjectGet .from_domain_model (project ).data ()
284+ data = ProjectGet .from_domain_model (project ).data (exclude_unset = True )
286285 return envelope_json_response (data )
287286
288287
Original file line number Diff line number Diff line change 88from models_library .workspaces import UserWorkspaceWithAccessRights
99
1010from ..workspaces import _workspaces_repository as workspaces_workspaces_repository
11+ from . import _projects_repository
1112from ._access_rights_service import check_user_project_permission
1213from ._projects_repository_legacy import ProjectDBAPI
1314from .models import ProjectDict
@@ -20,7 +21,9 @@ async def add_tag(
2021) -> ProjectDict :
2122 db : ProjectDBAPI = ProjectDBAPI .get_from_app_context (app )
2223
23- product_name = await db .get_project_product (project_uuid )
24+ product_name = await _projects_repository .get_project_product (
25+ app , project_uuid = project_uuid
26+ )
2427 await check_user_project_permission (
2528 app ,
2629 project_id = project_uuid ,
You can’t perform that action at this time.
0 commit comments