From 812db9d0fa7d0a90e28e98c7e95099b9c280051f Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Wed, 31 Jul 2024 23:44:49 -0600 Subject: [PATCH] Oh, whoops --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 3377cf5..a915f9a 100644 --- a/index.js +++ b/index.js @@ -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 {