File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
services/api-server/src/simcore_service_api_server Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ class ServicePricingPlanGetLegacy(BaseModel):
129129
130130class LicensedItemGet (BaseModel ):
131131 licensed_item_id : LicensedItemID
132- name : str
132+ display_name : str
133133 licensed_resource_type : LicensedResourceType
134134 pricing_plan_id : PricingPlanId
135135 created_at : datetime
Original file line number Diff line number Diff line change @@ -31,7 +31,14 @@ async def get_licensed_items(
3131 )
3232 return create_page (
3333 [
34- LicensedItemGet .model_validate (elm .model_dump ())
34+ LicensedItemGet (
35+ licensed_item_id = elm .licensed_item_id ,
36+ display_name = elm .name ,
37+ licensed_resource_type = elm .licensed_resource_type ,
38+ pricing_plan_id = elm .pricing_plan_id ,
39+ created_at = elm .created_at ,
40+ modified_at = elm .modified_at ,
41+ )
3542 for elm in licensed_items_page .items
3643 ],
3744 total = licensed_items_page .total ,
You can’t perform that action at this time.
0 commit comments