diff --git a/api-gateway/src/app.controller.ts b/api-gateway/src/app.controller.ts index 70398768..f7c857f3 100644 --- a/api-gateway/src/app.controller.ts +++ b/api-gateway/src/app.controller.ts @@ -149,12 +149,7 @@ export class AppController { @Body('last_name') last_name: string, @Body('email') email: string, @Body('phone') phone: number, - @Body('password') password: string, - @Body('user_type') user_type: string, - @Body('status') status: string, - @Body('date_entry') date_entry: Date, @Body('community_id') community_id: string, - @Body('number_house') number_house: string, ) { return this.appService.updateUser( id, @@ -163,12 +158,7 @@ export class AppController { last_name, email, phone, - password, - user_type, - status, - date_entry, - community_id, - number_house, + community_id ); } @@ -255,12 +245,7 @@ export class AppController { last_name, email, phone, - password, - user_type, - status, - date_entry, - community_id, - number_house, + password ); } diff --git a/api-gateway/src/app.service.ts b/api-gateway/src/app.service.ts index 5b70fffc..f9d8274d 100644 --- a/api-gateway/src/app.service.ts +++ b/api-gateway/src/app.service.ts @@ -94,12 +94,7 @@ export class AppService { last_name: string, email: string, phone: number, - password: string, - user_type: string, - status: string, - date_entry: Date, community_id: string, - number_house: string, ) { const pattern = { cmd: 'updateUser' }; const payload = { @@ -109,12 +104,7 @@ export class AppService { last_name: last_name, email: email, phone: phone, - password: password, - user_type: user_type, - status: status, - date_entry: date_entry, community_id: community_id, - number_house: number_house, }; return this.clientUserApp .send(pattern, payload)