nicklaw5 / helix

A Twitch Helix API client written in Go.
MIT License
240 stars 91 forks source link

Fix JSON tags for charity_campaign donation event #152

Closed AdrianGonz97 closed 1 year ago

AdrianGonz97 commented 1 year ago

My previous PR #150 fixed the value and campaign_id fields for the donation event. It also changed the broadcaster related fields to what was described in the documentation.

The documentation is wrong and does not reflect what is actually provided from the live eventsub.

I tested it now and commented about it here to show what the event looks like today.

This PR fixes and now reflects what the live eventsub provides in the donation event. It also adds the newly provided fields charity_name and charity_logo (both are not shown in twitch's documentation).

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3348478386


Totals Coverage Status
Change from base Build 3348240691: 0.0%
Covered Lines: 1341
Relevant Lines: 1444

💛 - Coveralls