fix lint errors
This commit is contained in:
@@ -185,7 +185,7 @@ Add the `validateAndTransformQuery` middleware to the API route in the file `src
|
||||
```ts title="src/api/middlewares.ts"
|
||||
import {
|
||||
validateAndTransformQuery,
|
||||
defineMiddlewares
|
||||
defineMiddlewares,
|
||||
} from "@medusajs/framework/http"
|
||||
import { PostStoreCustomSchema } from "./custom/validators"
|
||||
|
||||
|
||||
@@ -300,7 +300,7 @@ The first step is to use the `validateAndTransformQuery` middleware on the `GET`
|
||||
```ts title="src/api/middlewares.ts"
|
||||
import {
|
||||
validateAndTransformQuery,
|
||||
defineMiddlewares
|
||||
defineMiddlewares,
|
||||
} from "@medusajs/framework/http"
|
||||
import { createFindParams } from "@medusajs/medusa/api/utils/validators"
|
||||
|
||||
|
||||
@@ -161,7 +161,7 @@ const { isActive } = when(
|
||||
const isActive = isActiveStep()
|
||||
|
||||
return {
|
||||
isActive
|
||||
isActive,
|
||||
}
|
||||
})
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user