From 92afe8f615916fa1d6883af68172663fd6c506c2 Mon Sep 17 00:00:00 2001 From: moepoi Date: Sun, 21 Nov 2021 09:13:35 +0700 Subject: [PATCH] Fix typo --- routes/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.js b/routes/api.js index 5a27087..93f5cac 100644 --- a/routes/api.js +++ b/routes/api.js @@ -263,7 +263,7 @@ router.get("/verify-mail", async (req, res) => { var data = { verify: 1, }; - db_connect.query( + conn.query( 'UPDATE users SET ? WHERE email ="' + result[0].email + '"', data, function (err, result) {