Skip to content

Commit

Permalink
refactor(EndpointRoleIcon): rename hash parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
FedorLap2006 committed Jan 2, 2024
1 parent b36e573 commit 1ffd696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ var (
return EndpointCDNGuilds + gId + "/users/" + uID + "/avatars/" + aID + ".gif"
}

EndpointRoleIcon = func(rID, cID string) string {
return EndpointCDNRoleIcons + rID + "/" + cID + ".png"
EndpointRoleIcon = func(rID, hash string) string {
return EndpointCDNRoleIcons + rID + "/" + hash + ".png"
}

EndpointChannel = func(cID string) string { return EndpointChannels + cID }
Expand Down

0 comments on commit 1ffd696

Please sign in to comment.