From 29f235ac1db6c2da47765721eb1725544c4ccf38 Mon Sep 17 00:00:00 2001 From: KwikKill Date: Thu, 3 Aug 2023 21:01:38 +0200 Subject: [PATCH] Fix(lol): typo in query --- commands/lol.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/lol.js b/commands/lol.js index bb20d07..e6c7872 100644 --- a/commands/lol.js +++ b/commands/lol.js @@ -2166,7 +2166,7 @@ async function stats_evolution(client, interaction, discordaccount, champion, ro let queryaccount = ""; if (account !== null) { - queryaccount = " AND summoners.account = $" + i; + queryaccount = " AND summoners.username = $" + i; query_values.push(account); i++; }