add content

This commit is contained in:
liuyi 2025-05-19 20:41:34 +08:00
parent afb44f4d0c
commit 56f85173cf

View File

@ -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);
}