add content
This commit is contained in:
parent
afb44f4d0c
commit
56f85173cf
@ -23,7 +23,7 @@ export class PostController {
|
||||
}
|
||||
|
||||
@Get(':id')
|
||||
async show(@Param('id') id: string) {
|
||||
async show(@Param('id', new ParseUUIDPipe()) id: string) {
|
||||
return this.postService.detail(id);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user