Skip to content

Commit

Permalink
Update server search route response to include server description
Browse files Browse the repository at this point in the history
  • Loading branch information
chimpdev committed Apr 20, 2024
1 parent 41e9756 commit eaa1193
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 @@ -95,6 +95,7 @@ module.exports = {
icon_url: guild.iconURL({ dynamic: true }),
banner_url: guild.bannerURL({ format: 'png', size: 512 }),
category: server.category,
description: server.description,
premium: premiumUserIds.some(premium => premium.user.id === guild.ownerId),
joined_at: guild.joinedTimestamp,
data
Expand Down

0 comments on commit eaa1193

Please sign in to comment.