Commit c80f1027 authored by Niels Lanting's avatar Niels Lanting Committed by Andrei Mihu
Browse files

Type hint when unmarshalling Steam ID. (#287)

parent 9e5e79e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ type GoogleProfile struct {

// SteamProfile is an abbreviated version of a Steam profile.
type SteamProfile struct {
	SteamID uint64 `json:"steamid"`
	SteamID uint64 `json:"steamid,string"`
}

// SteamError contains a possible error response from the Steam Web API.