[DEL]pms_api_rest: del amenityIds from amenity type datamodel

This commit is contained in:
Darío Lodeiros
2022-06-20 18:50:42 +02:00
parent f64577e523
commit 22daa8597e
2 changed files with 0 additions and 3 deletions

View File

@@ -54,7 +54,6 @@ class PmsAmenityTypeService(Component):
PmsAmenityTypeInfo(
id=amenity_type.id,
name=amenity_type.name,
pmsAmenityIds=amenity_type.pms_amenity_ids.ids,
)
)
return result_amenity_types
@@ -80,7 +79,6 @@ class PmsAmenityTypeService(Component):
return PmsAmenityTypeInfo(
id=amenity_type.id,
name=amenity_type.name,
pmsAmenityIds=amenity_type.pms_amenity_ids.ids,
)
else:
raise MissingError(_("Amenity Type not found"))