Skip to content

Commit

Permalink
fix json types in achievement struct
Browse files Browse the repository at this point in the history
  • Loading branch information
shanedabes committed Mar 23, 2023
1 parent c83b753 commit cd176f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions retroachivements.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ type AchievementsByDateResp struct {

type Achievement struct {
Date string `json:"Date"`
HardcoreMode string `json:"HardcoreMode"`
AchievementID string `json:"AchievementID"`
HardcoreMode int `json:"HardcoreMode"`
AchievementID int `json:"AchievementID"`
Title string `json:"Title"`
Description string `json:"Description"`
BadgeName string `json:"BadgeName"`
Points string `json:"Points"`
Points int `json:"Points"`
Author string `json:"Author"`
GameTitle string `json:"GameTitle"`
GameIcon string `json:"GameIcon"`
GameID string `json:"GameID"`
GameID int `json:"GameID"`
ConsoleName string `json:"ConsoleName"`
CumulScore int `json:"CumulScore"`
BadgeURL string `json:"BadgeURL"`
Expand Down

0 comments on commit cd176f4

Please sign in to comment.