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
The return type of a get on duffel.orderChanges.get(...) is incorrect at src/booking/OrderChanges/OrderChanges.ts.
It's set to OrderChangeOfferSlice when the response should be OrderChangeOffer
Current code:
/** * Retrieves an order change by its ID * @param {string} id - Duffel's unique identifier for the order change * @link https://duffel.com/docs/api/order-changes/get-order-change-by-id */
get: (id: string)=>Promise<DuffelResponse<OrderChangeOfferSlice>>;
Corrected:
/** * Retrieves an order change by its ID * @param {string} id - Duffel's unique identifier for the order change * @link https://duffel.com/docs/api/order-changes/get-order-change-by-id */
get: (id: string)=>Promise<DuffelResponse<OrderChangeOffer>>;
The text was updated successfully, but these errors were encountered:
The return type of a get on
duffel.orderChanges.get(...)
is incorrect atsrc/booking/OrderChanges/OrderChanges.ts
.It's set to
OrderChangeOfferSlice
when the response should beOrderChangeOffer
Current code:
Corrected:
The text was updated successfully, but these errors were encountered: