[FIX] ms-api-rest: add default code field to amenity service payload

This commit is contained in:
miguelpadin
2023-06-26 19:09:58 +02:00
committed by Darío Lodeiros
parent 16b172592d
commit 0c79bd3b47

View File

@@ -50,6 +50,7 @@ class PmsAmenityService(Component):
name=amenity.name,
amenityTypeId=amenity.pms_amenity_type_id.id,
addInRoomName=amenity.is_add_code_room_name,
defaultCode=amenity.default_code if amenity.default_code else None,
)
)
return result_amenities