mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-25 07:47:02 +01:00
Fix typo
This commit is contained in:
parent
43e8497d67
commit
92afe8f615
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue