commit
This commit is contained in:
parent
48bb87ac68
commit
3a5ae2dd7d
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ function getUnverifiedUsers() {
|
|||
function setVerified(username) {
|
||||
return new Promise((resolve, reject) => {
|
||||
con.query(
|
||||
`UPDATE users SET verified = 1 WHERE username = ${username}`,
|
||||
`UPDATE users SET verified = 1 WHERE username = "${username}"`,
|
||||
(error, result) => {
|
||||
if (error) {
|
||||
reject(new Error(error));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue