commit
This commit is contained in:
parent
08418fd1d6
commit
48bb87ac68
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 usernaùe = ${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