added roundstats with eco info, switched to avatar hash
This commit is contained in:
4
main.go
4
main.go
@@ -136,7 +136,7 @@ func getPlayer(w http.ResponseWriter, r *http.Request) {
|
||||
response := utils.PlayerResponse{
|
||||
SteamID64: tPlayer.ID,
|
||||
Name: tPlayer.Name,
|
||||
Avatar: tPlayer.AvatarURL,
|
||||
Avatar: tPlayer.Avatar,
|
||||
VAC: tPlayer.Vac,
|
||||
VanityURL: tPlayer.VanityURLReal,
|
||||
Tracked: tPlayer.AuthCode != "",
|
||||
@@ -444,7 +444,7 @@ func getMatch(w http.ResponseWriter, r *http.Request) {
|
||||
Player: utils.PlayerResponse{
|
||||
SteamID64: iStats.Edges.Players.ID,
|
||||
Name: iStats.Edges.Players.Name,
|
||||
Avatar: iStats.Edges.Players.AvatarURL,
|
||||
Avatar: iStats.Edges.Players.Avatar,
|
||||
VAC: iStats.Edges.Players.Vac,
|
||||
VanityURL: iStats.Edges.Players.VanityURLReal,
|
||||
Tracked: iStats.Edges.Players.AuthCode != "",
|
||||
|
Reference in New Issue
Block a user