File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
services/web/server/src/simcore_service_webserver/projects Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,9 @@ async def list_projects(request: web.Request):
214214 page = Page [ProjectListItem ].model_validate (
215215 paginate_data (
216216 chunk = [
217- ProjectListItem .from_domain_model (prj ).model_dump (by_alias = True )
217+ ProjectListItem .from_domain_model (prj ).model_dump (
218+ by_alias = True , exclude_unset = True
219+ )
218220 for prj in projects
219221 ],
220222 request_url = request .url ,
@@ -258,7 +260,9 @@ async def list_projects_full_search(request: web.Request):
258260 page = Page [ProjectListItem ].model_validate (
259261 paginate_data (
260262 chunk = [
261- ProjectListItem .from_domain_model (prj ).model_dump (by_alias = True )
263+ ProjectListItem .from_domain_model (prj ).model_dump (
264+ by_alias = True , exclude_unset = True
265+ )
262266 for prj in projects
263267 ],
264268 request_url = request .url ,
You can’t perform that action at this time.
0 commit comments