refactor(EndpointRoleIcon): rename hash parameter
This commit is contained in:
parent
b36e573cd1
commit
1ffd696aae
1 changed files with 2 additions and 2 deletions
|
@ -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 }
|
||||||
|
|
Loading…
Reference in a new issue