docs: fix imports from dist (#9401)

This commit is contained in:
Shahed Nasser
2024-10-01 09:49:37 +00:00
committed by GitHub
parent 9bd99df545
commit 1ad7e7583f
5 changed files with 9 additions and 9 deletions
@@ -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({