dnsge / twitch-eventsub-framework

A small framework for creating Twitch EventSub applications
MIT License
3 stars 2 forks source link

Unreacheble code, so we cannot respond to twitch and twitch will retry requests #1

Closed Satont closed 1 year ago

Satont commented 1 year ago

https://github.com/dnsge/twitch-eventsub-framework/blob/6778902b4ad858bf7d76379514b760b7d42a287e/handler.go#L492

This code never executes, because you have return in each case statement. So, we not returning anything to twitch, and twitch will retry their request 3 times.

Satont commented 1 year ago

Wrong. ^^