Skip to content

Commit c80f102

Browse files
nielslantingzyro
authored andcommitted
Type hint when unmarshalling Steam ID. (heroiclabs#287)
1 parent 9e5e79e commit c80f102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

social/social.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ type GoogleProfile struct {
9292

9393
// SteamProfile is an abbreviated version of a Steam profile.
9494
type SteamProfile struct {
95-
SteamID uint64 `json:"steamid"`
95+
SteamID uint64 `json:"steamid,string"`
9696
}
9797

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

0 commit comments

Comments
 (0)