Merge pull request #119 from DeimosPr4/fix-deleteTestSendMail
delete function test send mail del service del api gateway
This commit is contained in:
commit
8841251f6b
|
@ -343,20 +343,5 @@ export class AppController {
|
|||
return this.appService.html(email, name);
|
||||
}
|
||||
|
||||
// #==== API Users
|
||||
@Post('user/testSendMail')
|
||||
testSendMail(
|
||||
@Body('dni') dni: string,
|
||||
@Body('name') name: string,
|
||||
@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,
|
||||
) {
|
||||
return this.appService.testSendMail(dni, name, last_name, email, phone, password,
|
||||
user_type, status, date_entry);
|
||||
}
|
||||
|
||||
}
|
|
@ -82,10 +82,6 @@ export class UsersService {
|
|||
async findGuardsCommunity(pcommunity_id: string): Promise<User[]> {
|
||||
return this.userModel.find({ user_type: 4 }).exec();
|
||||
}
|
||||
//find admin de comunidad
|
||||
async allUsersAdminComunidad(): Promise<User[]> {
|
||||
return this.userModel.find({ user_type: 2 }).exec();
|
||||
}
|
||||
|
||||
//find admin de comunidad
|
||||
async allUsersAdminComunidad(): Promise<User[]> {
|
||||
|
|
Loading…
Reference in New Issue