update the api endpoint

This commit is contained in:
Ayden Jahola 2024-10-03 12:15:24 +01:00
parent 49c0c60f12
commit d5882af80a
No known key found for this signature in database
GPG key ID: 71DD90AE4AE92742

View file

@ -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();