This commit is contained in:
Moe Poi ~ 2021-11-21 09:13:35 +07:00
parent 43e8497d67
commit 92afe8f615

View file

@ -263,7 +263,7 @@ router.get("/verify-mail", async (req, res) => {
var data = { var data = {
verify: 1, verify: 1,
}; };
db_connect.query( conn.query(
'UPDATE users SET ? WHERE email ="' + result[0].email + '"', 'UPDATE users SET ? WHERE email ="' + result[0].email + '"',
data, data,
function (err, result) { function (err, result) {