fix function duplicate usuario service
This commit is contained in:
parent
9e04a6e1c5
commit
e2c3bd51c2
|
@ -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[]> {
|
||||||
|
|
Loading…
Reference in New Issue