promesa sybase
This commit is contained in:
@@ -17,7 +17,8 @@ const alumno = (numeroCuenta) => {
|
||||
(err, data) => {
|
||||
if (err) reject(err);
|
||||
db.disconnect();
|
||||
console.log(resolve(data));
|
||||
console.log(data);
|
||||
resolve(data);
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user