Merge branch 'US-12-PerfilAdministradordeComunidaddeViviendas' of github.com:DeimosPr4/katoikia-app into movil
This commit is contained in:
commit
0b2ec5800a
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -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<string>(pattern, payload)
|
||||
|
|
Loading…
Reference in New Issue