arreglar endpoint

This commit is contained in:
Mariela 2022-08-01 01:23:45 -06:00
parent fc2dc8e2a6
commit 373012be14
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ export class CommonAreasController {
@MessagePattern({ cmd: 'removeCommonArea' }) @MessagePattern({ cmd: 'removeCommonArea' })
remove(@Payload() id: string) { remove(@Payload() id: string) {
let _id = id['_id']; let _id = id['id'];
return this.commonAreasService.remove(_id); return this.commonAreasService.remove(_id);
} }