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 @@ -215,7 +215,9 @@ async def list_projects(request: web.Request):
215215 page = Page [ProjectListItem ].model_validate (
216216 paginate_data (
217217 chunk = [
218- ProjectListItem .from_domain_model (prj ).model_dump (by_alias = True )
218+ ProjectListItem .from_domain_model (prj ).model_dump (
219+ by_alias = True , exclude_unset = True
220+ )
219221 for prj in projects
220222 ],
221223 request_url = request .url ,
@@ -260,7 +262,9 @@ async def list_projects_full_search(request: web.Request):
260262 page = Page [ProjectListItem ].model_validate (
261263 paginate_data (
262264 chunk = [
263- ProjectListItem .from_domain_model (prj ).model_dump (by_alias = True )
265+ ProjectListItem .from_domain_model (prj ).model_dump (
266+ by_alias = True , exclude_unset = True
267+ )
264268 for prj in projects
265269 ],
266270 request_url = request .url ,
You can’t perform that action at this time.
0 commit comments