Skip to content

Commit

Permalink
feat(extension): CHECKOUT-000 Pass consignment includes to reload che…
Browse files Browse the repository at this point in the history
…ckout command
  • Loading branch information
animesh1987 committed Apr 3, 2024
1 parent 249c7da commit 8d7e5b2
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ export function createReloadCheckoutHandler({
return {
commandType: ExtensionCommandType.ReloadCheckout,
handler: () => {
void checkoutService.loadCheckout(checkoutService.getState().data.getCheckout()?.id);
void checkoutService.loadCheckout(checkoutService.getState().data.getCheckout()?.id, {
params: {
// eslint-disable-next-line
include: ['consignments.availableShippingOptions'] as any,
},
});
},
};
}

0 comments on commit 8d7e5b2

Please sign in to comment.