Skip to content

Commit

Permalink
Add banner_url to servers search route response
Browse files Browse the repository at this point in the history
  • Loading branch information
chimpdev committed Apr 20, 2024
1 parent fc9ab9b commit 41e9756
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/routes/servers/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ module.exports = {
id: guild.id,
name: guild.name,
icon_url: guild.iconURL({ dynamic: true }),
banner_url: guild.bannerURL({ format: 'png', size: 512 }),
category: server.category,
premium: premiumUserIds.some(premium => premium.user.id === guild.ownerId),
joined_at: guild.joinedTimestamp,
Expand Down

0 comments on commit 41e9756

Please sign in to comment.