Oh, whoops

This commit is contained in:
Christopher Cookman 2024-07-31 23:44:49 -06:00
parent d37432d0a4
commit 812db9d0fa
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -275,7 +275,7 @@ client.on("interactionCreate", async (interaction) => {
return;
}
verification_code = generatePhoneCode();
db.run("UPDATE accounts SET phone = ?, verified = 0, verification_code = ? WHERE id = ?", phone_number, accountNumber, verification_code, (err) => {
db.run("UPDATE accounts SET phone = ?, verified = 0, verification_code = ? WHERE id = ?", phone_number, verification_code, accountNumber, (err) => {
if (err) {
console.error(err);
} else {