refactor(EndpointRoleIcon): rename hash parameter

This commit is contained in:
Fedor Lapshin 2024-01-02 11:19:34 +03:00
parent b36e573cd1
commit 1ffd696aae
No known key found for this signature in database
GPG key ID: 492D745FB49D2DAB

View file

@ -115,8 +115,8 @@ var (
return EndpointCDNGuilds + gId + "/users/" + uID + "/avatars/" + aID + ".gif" return EndpointCDNGuilds + gId + "/users/" + uID + "/avatars/" + aID + ".gif"
} }
EndpointRoleIcon = func(rID, cID string) string { EndpointRoleIcon = func(rID, hash string) string {
return EndpointCDNRoleIcons + rID + "/" + cID + ".png" return EndpointCDNRoleIcons + rID + "/" + hash + ".png"
} }
EndpointChannel = func(cID string) string { return EndpointChannels + cID } EndpointChannel = func(cID string) string { return EndpointChannels + cID }