From f38f3421fd4be269a0036ac49694c62a4b8cb9f3 Mon Sep 17 00:00:00 2001 From: Elysia <71698422+aiko-chan-ai@users.noreply.github.com> Date: Sun, 23 Apr 2023 17:54:59 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20badgeIcon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/util/Constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/Constants.js b/src/util/Constants.js index 652fc28..954d0c2 100644 --- a/src/util/Constants.js +++ b/src/util/Constants.js @@ -228,7 +228,7 @@ exports.Endpoints = { guildScheduledEventCover: (scheduledEventId, coverHash, format, size) => makeImageUrl(`${root}/guild-events/${scheduledEventId}/${coverHash}`, { size, format }), // Test only - BadgeIcon: hash => makeImageUrl(`${root}/badge-icons/${hash}.png`), + BadgeIcon: hash => makeImageUrl(`${root}/badge-icons/${hash}`, { format: 'png' }), }; }, invite: (root, code, eventId) => (eventId ? `${root}/${code}?event=${eventId}` : `${root}/${code}`),