fix function duplicate usuario service

This commit is contained in:
Mariela 2022-07-22 00:38:34 -06:00
parent 9e04a6e1c5
commit e2c3bd51c2
1 changed files with 0 additions and 4 deletions

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[]> {