fix(core-flows): Fix broken import of MedusaError (#11362)

This commit is contained in:
Kasper Fabricius Kristensen
2025-02-07 17:17:52 +01:00
committed by GitHub
parent cb0f065c9d
commit acefcd7d80
2 changed files with 7 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/core-flows": patch
---
fix(core-flows): Fix broken import of MedusaError

View File

@@ -1,3 +1,4 @@
import { MedusaError } from "@medusajs/framework/utils"
import {
CartLineItemDTO,
CartWorkflowDTO,
@@ -6,8 +7,6 @@ import {
} from "@medusajs/types"
import { createStep, StepResponse } from "@medusajs/workflows-sdk"
import { MedusaError } from "../../../../utils/dist/common"
/**
* The data to validate shipping data when cart is completed.
*/
@@ -46,7 +45,7 @@ export const validateShippingStepId = "validate-shipping"
* or [useQueryGraphStep](https://docs.medusajs.com/resources/references/medusa-workflows/steps/useQueryGraphStep).
*
* :::
*
*
* @example
* validateShippingStep({
* cart: {