docs: fix imports from dist (#9401)
This commit is contained in:
1 parent
9bd99df545
commit
1ad7e7583f
5 files changed
+9
-9
No files matched your search
@@ -49,7 +49,7 @@ For example, create the file `src/api/middlewares.ts` with the following content
|
||||
import { defineMiddlewares } from "@medusajs/medusa"
|
||||
import {
|
||||
validateAndTransformBody,
|
||||
} from "@medusajs/medusa/dist/api/utils/validate-body"
|
||||
} from "@medusajs/medusa/api/utils/validate-body"
|
||||
import { PostStoreCustomSchema } from "./custom/validators"
|
||||
|
||||
export default defineMiddlewares({
|
||||
|
||||
Reference in new issue
Block a user