agregar manejo de DELETE the comunicados en controlador de API

This commit is contained in:
Eduardo Quiros 2022-08-23 00:09:14 -06:00
parent 6c6b944da7
commit 1fd25ee469
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 13 additions and 8 deletions

View File

@ -428,6 +428,11 @@ export class AppController {
return this.appService.findPost(paramPost);
}
@Delete('post/deletePost/:id')
deletePost(@Param('id') id: string) {
return this.appService.deletePost(id);
}
// #==== API Comment
@Post('post/createComment')