Skip to content

Commit

Permalink
docs: fix typo (#4007)
Browse files Browse the repository at this point in the history
Co-authored-by: guangliu <k1466006376@163.com>
  • Loading branch information
Nokic233 and guangliu authored Aug 9, 2024
1 parent 0edf6c1 commit 9327c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/docs/extensions/validate.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ import { UserDTO } from './dto/user';

@Controller('/api/user')
export class HomeController {
@get('/')
@Get('/')
async getUser(@Valid(RuleType.number().required()) @Query('id') id: number) {
// ...
}
Expand Down

0 comments on commit 9327c3c

Please sign in to comment.