arreglar endpoint
This commit is contained in:
parent
fc2dc8e2a6
commit
373012be14
|
@ -30,7 +30,7 @@ export class CommonAreasController {
|
|||
|
||||
@MessagePattern({ cmd: 'removeCommonArea' })
|
||||
remove(@Payload() id: string) {
|
||||
let _id = id['_id'];
|
||||
let _id = id['id'];
|
||||
return this.commonAreasService.remove(_id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue