Fix bug where we can't update the smoking amenity and shared and private amenity
Closed this issue · 1 comments
noobling commented
I think the cause is probably is service controller under the amenities function to could be hairy fixing it since another part of the controller relies on this if changed could break that part. So I am thinking a quick and dirty way just to copy the code and create new function very similar to that but with our required changes to use when needed.
Shared and private dont work too just produces null
noobling commented
Update: fixed smoking to show the smoking amenity but the no smoking doesn't work since it is different logic to the other amenities in the findAmenityToUpdate
function. The shared bathroom and private bathroom has not been implemented yet.