From 04a5886943c7af32ebaed104b4035a36d49bb9b0 Mon Sep 17 00:00:00 2001 From: "Shane A. Jeffery" <69131241+shaneajeffery@users.noreply.github.com> Date: Sat, 20 Apr 2024 04:46:24 -0700 Subject: [PATCH] Add Parent Category for Achievement Category (#74) --- wowgd/achievement.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wowgd/achievement.go b/wowgd/achievement.go index 64e073b..bb69286 100644 --- a/wowgd/achievement.go +++ b/wowgd/achievement.go @@ -53,6 +53,13 @@ type AchievementCategory struct { Name string `json:"name"` ID int `json:"id"` } `json:"subcategories"` + ParentCategory struct { + Key struct { + Href string `json:"href"` + } `json:"key"` + Name string `json:"name"` + ID int `json:"id"` + } `json:"parent_category"` IsGuildCategory bool `json:"is_guild_category"` AggregatesByFaction struct { Alliance struct {