You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
interfaceOfferRequestSlice{
...
/** * The city or airport the passengers want to travel to */destination: Place|string;/** * The city or airport the passengers want to depart from */origin: Place|string;
....}
Should these just be set to Place? Is there an example of a time when these might be a string?
The text was updated successfully, but these errors were encountered:
Hey @nathanlindsay! I'll be closing this for now since there hasn't been any activity, but please feel free to re-open if you have any other question. To clarify, we do seem to reuse the OfferRequestSlice type on the CreateOfferRequest type. CreateOfferRequest is used for the payload, where your input and destination are strings with the iata code.That's why we have origin and destination as either Place or string
Me again... Really sorry!
Should these just be set to
Place
? Is there an example of a time when these might be a string?The text was updated successfully, but these errors were encountered: