error comillas

This commit is contained in:
2021-02-15 14:08:15 -06:00
parent a862ee137a
commit d8d7b15f7c
+1 -1
View File
@@ -13,7 +13,7 @@ const alumno = (numeroCuenta) => {
db.connect((err) => {
if (err) reject(err);
db.query(
`select * from servicio_social where cuenta = "${numeroCuenta}"`,
`select * from servicio_social where cuenta = '${numeroCuenta}'`,
(err, data) => {
if (err) reject(err);
db.disconnect();