Skip to content

Commit

Permalink
Refactor setAuthor iconURL in reviews.js to use request.user.displayA…
Browse files Browse the repository at this point in the history
…vatarURL()
  • Loading branch information
chimpdev committed May 3, 2024
1 parent 0e76070 commit c538a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/routes/servers/[id]/reviews.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = {

const embeds = [
new Discord.EmbedBuilder()
.setAuthor({ name: request.user.username, iconURL: request.member.user.displayAvatarURL() })
.setAuthor({ name: request.user.username, iconURL: request.user.displayAvatarURL() })
.setTitle('New Review')
.setFields([
{
Expand Down

0 comments on commit c538a03

Please sign in to comment.