numo-labs / isearch-ui

:yellow_heart: :mag: The ui for inspirational search!
GNU General Public License v3.0
7 stars 7 forks source link

Duration Nights not being sent to Backend #142

Closed nelsonic closed 8 years ago

nelsonic commented 8 years ago

When viewing the Homepage: https://s3-eu-west-1.amazonaws.com/www.tcdl.io/isearch/0.13/index.html

It appears as though the default holiday duration (nights) is not being sent to the backend. As a result we are seeing super long (and correspondingly "expensive") Holiday Packages.

isearch-no-duration-in-search-means-super-long-stay-packages

Is this the desired behaviour?

tomgco commented 8 years ago

@nelsonic Does this still happen?

nelsonic commented 8 years ago

@tomgco we are capturing the duration from the SNS message: https://github.com/numo-labs/lambda-ne-classic-package-provider/blob/3d2e649c87237d269cf62c8e2c12eb0e8a847d37/lib/parse_sns.js#L58 and it is passed on to the NE API.