Fixed logged-in-user.mdx example (#7132)
Previous documentation stuffed type imports with regular imports. This was fine, but either remove the unnecessary 'type' in the first import statement or import like this PR.
This commit is contained in:
1 parent
f03a822253
commit
342712b8ab
1 file changed
+3
-3
@@ -25,14 +25,14 @@ Create the file `src/api/middlewares.ts` with the following content:
|
||||
```ts title="src/api/middlewares.ts"
|
||||
import {
|
||||
authenticate,
|
||||
type MiddlewaresConfig,
|
||||
type User,
|
||||
type UserService,
|
||||
} from "@medusajs/medusa"
|
||||
import type {
|
||||
MedusaNextFunction,
|
||||
MedusaRequest,
|
||||
MedusaResponse,
|
||||
MiddlewaresConfig,
|
||||
User,
|
||||
UserService,
|
||||
} from "@medusajs/medusa"
|
||||
|
||||
const registerLoggedInUser = async (
|
||||
|
||||
Reference in new issue
Block a user