feat(fulfillment, core-flows): Apply correct address and context + cleanup (#7230)

The tests will be added in subsequent requests where the worklows are being worked on
This commit is contained in:
Adrien de Peretti
2024-05-03 15:44:22 +00:00
committed by GitHub
parent 4fe28f5a95
commit 520867b074
3 changed files with 25 additions and 42 deletions
@@ -46,7 +46,7 @@ export const listShippingOptionsForCartWorkflow = createWorkflow(
variables: {
id: input.sales_channel_id,
"stock_locations.fulfillment_sets.service_zones.shipping_options": {
context: {
filters: {
address: {
city: input.shipping_address?.city,
country_code: input.shipping_address?.country_code,