fix lint errors

This commit is contained in:
Shahed Nasser
2024-12-11 11:20:07 +02:00
parent 3522c0f0e0
commit 35a8224497
9 changed files with 51 additions and 51 deletions
@@ -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,
}
})
```