fix(core-flows): Fix broken import of MedusaError (#11362)
This commit is contained in:
committed by
GitHub
parent
cb0f065c9d
commit
acefcd7d80
5
.changeset/strong-chicken-wink.md
Normal file
5
.changeset/strong-chicken-wink.md
Normal file
@@ -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 {
|
||||
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: {
|
||||
|
||||
Reference in New Issue
Block a user