Arreglar funciones de eliminar área común
This commit is contained in:
parent
859c420067
commit
6e24540d00
|
@ -196,6 +196,12 @@ export class AppController {
|
|||
return this.appService.findByCommunity(paramCommunityId);
|
||||
}
|
||||
|
||||
|
||||
@Delete('commonArea/deleteCommonArea/:id')
|
||||
deleteCommonArea(@Param('id') id: string) {
|
||||
return this.appService.deleteCommonArea(id);
|
||||
}
|
||||
|
||||
// #==== API GUEST
|
||||
//#API userService - create user
|
||||
@Post('guest/createGuest')
|
||||
|
|
|
@ -259,8 +259,8 @@ export class AppService {
|
|||
}
|
||||
|
||||
|
||||
//GET parameter from API
|
||||
removeCommonArea(paramCommonAreaId: string) {
|
||||
//DELETE parameter from API
|
||||
deleteCommonArea(paramCommonAreaId: string) {
|
||||
const pattern = { cmd: 'removeCommonArea' };
|
||||
const payload = { id: paramCommonAreaId };
|
||||
return this.clientCommonAreaApp
|
||||
|
|
Loading…
Reference in New Issue