From d5882af80a305ce3f97efdb874fe61249f62b509 Mon Sep 17 00:00:00 2001 From: Ayden Jahola Date: Thu, 3 Oct 2024 12:15:24 +0100 Subject: [PATCH] update the api endpoint --- commands/stats/valorant.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/stats/valorant.js b/commands/stats/valorant.js index 5012780..62fee61 100644 --- a/commands/stats/valorant.js +++ b/commands/stats/valorant.js @@ -32,7 +32,7 @@ module.exports = { const apiKeyUrl = process.env.VALORANT_API_URL; const apiKey = process.env.VALORANT_API_KEY; - const url = `https://${apiKeyUrl}/player/${formattedUsername}/${statsType}`; + const url = `https://${apiKeyUrl}/valorant/player/${formattedUsername}/${statsType}`; try { await interaction.deferReply();