fix: 🐛 badgeIcon
This commit is contained in:
parent
4ceaadf71a
commit
f38f3421fd
@ -228,7 +228,7 @@ exports.Endpoints = {
|
|||||||
guildScheduledEventCover: (scheduledEventId, coverHash, format, size) =>
|
guildScheduledEventCover: (scheduledEventId, coverHash, format, size) =>
|
||||||
makeImageUrl(`${root}/guild-events/${scheduledEventId}/${coverHash}`, { size, format }),
|
makeImageUrl(`${root}/guild-events/${scheduledEventId}/${coverHash}`, { size, format }),
|
||||||
// Test only
|
// 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}`),
|
invite: (root, code, eventId) => (eventId ? `${root}/${code}?event=${eventId}` : `${root}/${code}`),
|
||||||
|
Loading…
Reference in New Issue
Block a user