Skip to content

Commit

Permalink
changed favicon.ico to icon.png
Browse files Browse the repository at this point in the history
  • Loading branch information
Andcool-Systems committed Nov 10, 2024
1 parent 0577302 commit fcd0501
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/user/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class UserService {
joined_at: session.user.joined_at,
avatar: response_data.avatar ?
`${process.env.DOMAIN}/api/v1/avatars/${session.user.discordId}` :
`${process.env.DOMAIN}/static/favicon.ico`,
`${process.env.DOMAIN}/icon.png`,
banner_color: response_data.banner_color,
has_unreaded_notifications: session.user.has_unreaded_notifications,
permissions: session.user.AccessRoles.map(role => role.name.toLowerCase()),
Expand Down Expand Up @@ -180,7 +180,7 @@ export class UserService {
connected_at: session.user.joined_at,
avatar: current_discord.avatar ?
`${process.env.DOMAIN}/api/v1/avatars/${session.user.discordId}` :
`${process.env.DOMAIN}/static/favicon.ico`
`${process.env.DOMAIN}/icon.png`
}

return {
Expand Down Expand Up @@ -304,7 +304,7 @@ export class UserService {
joined_at: user.joined_at,
avatar: current_discord.avatar ?
`${process.env.DOMAIN}/api/v1/avatars/${current_discord.id}` :
`${process.env.DOMAIN}/static/favicon.ico`,
`${process.env.DOMAIN}/icon.png`,
banner_color: current_discord.banner_color,
works: generate_response(bandages, session, can_view),
is_self: user.id == session?.user?.id,
Expand Down Expand Up @@ -342,7 +342,7 @@ export class UserService {
name: user.reserved_name || user.name,
avatar: current_discord.avatar ?
`${process.env.DOMAIN}/api/v1/avatars/${current_discord.id}` :
`${process.env.DOMAIN}/static/favicon.ico`,
`${process.env.DOMAIN}/icon.png`,
banner_color: current_discord.banner_color,
works_count: user.Bandage.length,
}
Expand Down

0 comments on commit fcd0501

Please sign in to comment.