Merge pull request #119 from DeimosPr4/fix-deleteTestSendMail

delete function test send mail del service del api gateway
This commit is contained in:
Eduardo Quiros 2022-07-22 01:11:43 -06:00 committed by GitHub
commit 8841251f6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 20 deletions

View File

@ -343,20 +343,5 @@ export class AppController {
return this.appService.html(email, name); 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);
}
} }

View File

@ -82,10 +82,6 @@ export class UsersService {
async findGuardsCommunity(pcommunity_id: string): Promise<User[]> { async findGuardsCommunity(pcommunity_id: string): Promise<User[]> {
return this.userModel.find({ user_type: 4 }).exec(); 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 //find admin de comunidad
async allUsersAdminComunidad(): Promise<User[]> { async allUsersAdminComunidad(): Promise<User[]> {