diff --git a/src/usuario/usuario.service.ts b/src/usuario/usuario.service.ts index 5fe6c26..e3f6b80 100644 --- a/src/usuario/usuario.service.ts +++ b/src/usuario/usuario.service.ts @@ -125,7 +125,7 @@ export class UsuarioService { return query.getManyAndCount(); } - findFullInfoByUsuario(operador: Operador, usuario: string) { + findFullInfoByUsuario(operador: Operador, usuario: string): Promise { return this.fullInformacionUsuarioView .findOne({ where: { usuario } }) .then(async (infoUsuario) => { @@ -154,7 +154,7 @@ export class UsuarioService { }); } - findById(id_usuario: number) { + findById(id_usuario: number): Promise { return this.repository .findOne({ select: ['id_usuario', 'correo', 'password', 'usuario'], @@ -166,7 +166,7 @@ export class UsuarioService { }); } - findByUsuario(usuario: string, rfc?: string) { + findByUsuario(usuario: string, rfc?: string): Promise { const busqueda: FindOptionsWhere = { usuario }; if (rfc) busqueda.rfc = rfc;