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('last_name') last_name: string,
 | 
				
			||||||
    @Body('email') email: string,
 | 
					    @Body('email') email: string,
 | 
				
			||||||
    @Body('phone') phone: number,
 | 
					    @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('community_id') community_id: string,
 | 
				
			||||||
    @Body('number_house') number_house: string,
 | 
					 | 
				
			||||||
  ) {
 | 
					  ) {
 | 
				
			||||||
    return this.appService.updateUser(
 | 
					    return this.appService.updateUser(
 | 
				
			||||||
      id,
 | 
					      id,
 | 
				
			||||||
| 
						 | 
					@ -163,12 +158,7 @@ export class AppController {
 | 
				
			||||||
      last_name,
 | 
					      last_name,
 | 
				
			||||||
      email,
 | 
					      email,
 | 
				
			||||||
      phone,
 | 
					      phone,
 | 
				
			||||||
      password,
 | 
					      community_id
 | 
				
			||||||
      user_type,
 | 
					 | 
				
			||||||
      status,
 | 
					 | 
				
			||||||
      date_entry,
 | 
					 | 
				
			||||||
      community_id,
 | 
					 | 
				
			||||||
      number_house,
 | 
					 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -255,12 +245,7 @@ export class AppController {
 | 
				
			||||||
      last_name,
 | 
					      last_name,
 | 
				
			||||||
      email,
 | 
					      email,
 | 
				
			||||||
      phone,
 | 
					      phone,
 | 
				
			||||||
      password,
 | 
					      password
 | 
				
			||||||
      user_type,
 | 
					 | 
				
			||||||
      status,
 | 
					 | 
				
			||||||
      date_entry,
 | 
					 | 
				
			||||||
      community_id,
 | 
					 | 
				
			||||||
      number_house,
 | 
					 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -94,12 +94,7 @@ export class AppService {
 | 
				
			||||||
    last_name: string,
 | 
					    last_name: string,
 | 
				
			||||||
    email: string,
 | 
					    email: string,
 | 
				
			||||||
    phone: number,
 | 
					    phone: number,
 | 
				
			||||||
    password: string,
 | 
					 | 
				
			||||||
    user_type: string,
 | 
					 | 
				
			||||||
    status: string,
 | 
					 | 
				
			||||||
    date_entry: Date,
 | 
					 | 
				
			||||||
    community_id: string,
 | 
					    community_id: string,
 | 
				
			||||||
    number_house: string,
 | 
					 | 
				
			||||||
  ) {
 | 
					  ) {
 | 
				
			||||||
    const pattern = { cmd: 'updateUser' };
 | 
					    const pattern = { cmd: 'updateUser' };
 | 
				
			||||||
    const payload = {
 | 
					    const payload = {
 | 
				
			||||||
| 
						 | 
					@ -109,12 +104,7 @@ export class AppService {
 | 
				
			||||||
      last_name: last_name,
 | 
					      last_name: last_name,
 | 
				
			||||||
      email: email,
 | 
					      email: email,
 | 
				
			||||||
      phone: phone,
 | 
					      phone: phone,
 | 
				
			||||||
      password: password,
 | 
					 | 
				
			||||||
      user_type: user_type,
 | 
					 | 
				
			||||||
      status: status,
 | 
					 | 
				
			||||||
      date_entry: date_entry,
 | 
					 | 
				
			||||||
      community_id: community_id,
 | 
					      community_id: community_id,
 | 
				
			||||||
      number_house: number_house,
 | 
					 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    return this.clientUserApp
 | 
					    return this.clientUserApp
 | 
				
			||||||
      .send<string>(pattern, payload)
 | 
					      .send<string>(pattern, payload)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue