format
This commit is contained in:
parent
8dd3132ec4
commit
c1106e7d63
|
@ -14,8 +14,8 @@ export class UsersService {
|
|||
@InjectModel(User.name) private readonly userModel: Model<UserDocument>,
|
||||
@Inject('SERVICIO_NOTIFICACIONES') private readonly clientNotificationtApp: ClientProxy,
|
||||
@Inject('SERVICIO_COMUNIDADES') private readonly clientCommunityApp: ClientProxy,
|
||||
|
||||
) { }
|
||||
|
||||
private publicKey: string;
|
||||
async create(user: UserDocument): Promise<User> {
|
||||
let passwordEncriptada = Md5.init(user.password);
|
||||
|
@ -104,7 +104,8 @@ export class UsersService {
|
|||
resolve(res[0]);
|
||||
} else {
|
||||
resolve(null);
|
||||
}}else{
|
||||
}
|
||||
} else {
|
||||
resolve(null);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue