fix(medusa): Missing middlewares export (#7289)
This commit is contained in:
1 parent
7e43aabda0
commit
e5904f8c75
43 files changed
+51
-44
No files matched your search
@@ -16,3 +16,4 @@ export * from "./set-metadata"
|
||||
export * from "./validate-id"
|
||||
export { registerOverriddenValidators, validator } from "./validator"
|
||||
export * from "./validators/is-type"
|
||||
export * from "./middlewares"
|
||||
+1
-1
@@ -7,7 +7,7 @@ import {
|
||||
AuthenticatedMedusaRequest,
|
||||
MedusaRequest,
|
||||
MedusaResponse,
|
||||
} from "../types/routing"
|
||||
} from "../../types/routing"
|
||||
|
||||
const SESSION_AUTH = "session"
|
||||
const BEARER_AUTH = "bearer"
|
||||
@@ -1,4 +1,5 @@
|
||||
export { default as authenticate } from "./authenticate"
|
||||
export { default as authenticateLegacy } from "./authenticate"
|
||||
export { authenticate } from "./authenticate-middleware"
|
||||
export { default as authenticateCustomer } from "./authenticate-customer"
|
||||
export { default as wrapHandler } from "./await-middleware"
|
||||
export { default as errorHandler } from "./error-handler"
|
||||
|
||||
Reference in new issue
Block a user