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);
 | 
					    return this.appService.findByCommunity(paramCommunityId);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @Delete('commonArea/deleteCommonArea/:id')
 | 
				
			||||||
 | 
					  deleteCommonArea(@Param('id') id: string) {
 | 
				
			||||||
 | 
					    return this.appService.deleteCommonArea(id);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // #==== API GUEST
 | 
					  // #==== API GUEST
 | 
				
			||||||
  //#API userService - create user
 | 
					  //#API userService - create user
 | 
				
			||||||
  @Post('guest/createGuest')
 | 
					  @Post('guest/createGuest')
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -259,8 +259,8 @@ export class AppService {
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    //GET parameter from API
 | 
					    //DELETE parameter from API
 | 
				
			||||||
    removeCommonArea(paramCommonAreaId: string) {
 | 
					    deleteCommonArea(paramCommonAreaId: string) {
 | 
				
			||||||
      const pattern = { cmd: 'removeCommonArea' };
 | 
					      const pattern = { cmd: 'removeCommonArea' };
 | 
				
			||||||
      const payload = { id: paramCommonAreaId };
 | 
					      const payload = { id: paramCommonAreaId };
 | 
				
			||||||
      return this.clientCommonAreaApp
 | 
					      return this.clientCommonAreaApp
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue