From 8a56cb723c831c6394ed2ee3e0895871c103f815 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Tue, 23 Jul 2024 17:01:38 -0600 Subject: [PATCH] utility.appinfo: APPLICATION_ASSETS is api not cdn --- src/modules/utility/appinfo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/utility/appinfo.js b/src/modules/utility/appinfo.js index 7c6e4f7..1e5cab2 100644 --- a/src/modules/utility/appinfo.js +++ b/src/modules/utility/appinfo.js @@ -38,7 +38,7 @@ appinfo.callback = async function (msg, line) { app = Object.assign(app, game); } - const assets = await hf.bot.requestHandler.request("GET", CDNEndpoints.APPLICATION_ASSETS(app.id), false); + const assets = await hf.bot.requestHandler.request("GET", APIEndpoints.APPLICATION_ASSETS(app.id), false); const embed = { title: `${app.name}`, @@ -205,7 +205,7 @@ appinfo.callback = async function (msg, line) { links.push(`[Privacy Policy](${app.privacy_policy_url})`); } if (assets.length > 0) { - links.push(`[Assets](${API_URL + CDNEndpoints.APPLICATION_ASSETS(app.id)})`); + links.push(`[Assets](${API_URL + APIEndpoints.APPLICATION_ASSETS(app.id)})`); } if (images.length > 0 || links.length > 0) {