docs : Update page.mdx referring (#9820)
Fix The correct import is from "@medusajs/framework". referring to the issue #9810
This commit is contained in:
@@ -690,7 +690,7 @@ Finally, create the file `src/api/middlewares.ts` with the following content:
|
||||
import { defineMiddlewares } from "@medusajs/medusa"
|
||||
import {
|
||||
validateAndTransformBody,
|
||||
} from "@medusajs/framework/utils"
|
||||
} from "@medusajs/framework"
|
||||
import { createDigitalProductsSchema } from "./validation-schemas"
|
||||
|
||||
export default defineMiddlewares({
|
||||
|
||||
Reference in New Issue
Block a user