Skip to content

Commit

Permalink
fix capacity
Browse files Browse the repository at this point in the history
  • Loading branch information
gempir committed Nov 3, 2024
1 parent 3380449 commit 55f2d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/emoteservice/seventv.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (c *SevenTvClient) GetUser(channelID string) (User, error) {
emotes = append(emotes, Emote{ID: emote.ID, Code: emote.Name})
}

return User{ID: userResp.User.ID, Emotes: emotes, EmoteSlots: userResp.EmoteCapacity}, nil
return User{ID: userResp.User.ID, Emotes: emotes, EmoteSlots: userResp.EmoteSet.Capacity}, nil
}

func (c *SevenTvClient) QuerySevenTvGQL(query string, variables map[string]interface{}, response interface{}) error {
Expand Down

0 comments on commit 55f2d51

Please sign in to comment.