Skip to content

Commit

Permalink
Fix casing
Browse files Browse the repository at this point in the history
  • Loading branch information
james3304 committed Aug 3, 2024
1 parent 89031ec commit 422510f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion freecompany.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func (s *Scraper) buildFreeCompanyMembersCollector(output chan *FreeCompanyMembe
Name: membersSelectors.Entry.Name.ParseThroughChildren(e)[0],
Rank: gcrank.Parse(membersSelectors.Entry.Rank.ParseThroughChildren(e)[0]),
RankIcon: membersSelectors.Entry.RankIcon.ParseThroughChildren(e)[0],
FcRank: membersSelectors.Entry.FcRank.ParseThroughChildren(e)[0],
FCRank: membersSelectors.Entry.FCRank.ParseThroughChildren(e)[0],
}

worldDC := membersSelectors.Entry.Server.ParseThroughChildren(e)
Expand Down
2 changes: 1 addition & 1 deletion internal/selectors/freecompany.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type FreeCompanyMemberSelectors struct {
ID SelectorInfo `json:"ID"`
Name SelectorInfo `json:"NAME"`
Rank SelectorInfo `json:"RANK"`
FcRank SelectorInfo `json:"FC_RANK"`
FCRank SelectorInfo `json:"FC_RANK"`
RankIcon SelectorInfo `json:"RANK_ICON"`
Server SelectorInfo `json:"SERVER"`
} `json:"ENTRY"`
Expand Down
2 changes: 1 addition & 1 deletion records.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ type FreeCompanyMember struct {
ID uint32
Name string
Rank gcrank.GCRank
FcRank string
FCRank string
RankIcon string
World string
DC string
Expand Down

0 comments on commit 422510f

Please sign in to comment.