Skip to content

Commit

Permalink
fix: request module augmentation with validate
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Jan 27, 2024
1 parent 5c89c2e commit 423a15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindings/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import '@adonisjs/core/bodyparser_middleware'
import { validator } from '../validator/index.js'
import type { TypedSchema, ParsedTypedSchema, RequestValidatorNode } from '../types.js'

declare module '@adonisjs/http-server' {
declare module '@adonisjs/core/http' {
interface Request {
/**
* Validate current request. The data is optional here, since request
Expand Down

0 comments on commit 423a15f

Please sign in to comment.