fix(core-flows): Fix broken import of MedusaError (#11362)
This commit is contained in:
1 parent
cb0f065c9d
commit
acefcd7d80
2 files changed
+7
-3
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/core-flows": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix(core-flows): Fix broken import of MedusaError
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import { MedusaError } from "@medusajs/framework/utils"
|
||||||
import {
|
import {
|
||||||
CartLineItemDTO,
|
CartLineItemDTO,
|
||||||
CartWorkflowDTO,
|
CartWorkflowDTO,
|
||||||
@@ -6,8 +7,6 @@ import {
|
|||||||
} from "@medusajs/types"
|
} from "@medusajs/types"
|
||||||
import { createStep, StepResponse } from "@medusajs/workflows-sdk"
|
import { createStep, StepResponse } from "@medusajs/workflows-sdk"
|
||||||
|
|
||||||
import { MedusaError } from "../../../../utils/dist/common"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The data to validate shipping data when cart is completed.
|
* 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).
|
* or [useQueryGraphStep](https://docs.medusajs.com/resources/references/medusa-workflows/steps/useQueryGraphStep).
|
||||||
*
|
*
|
||||||
* :::
|
* :::
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* validateShippingStep({
|
* validateShippingStep({
|
||||||
* cart: {
|
* cart: {
|
||||||
|
|||||||
Reference in new issue
Block a user