junlarsen / league-connect

:electric_plug: Node.js HTTP/1.1, HTTP/2.0 and WebSocket interface to the League of Legends Client APIs
https://www.npmjs.com/package/league-connect
MIT License
156 stars 23 forks source link

fix: fix issue where body wasn't sent at all #38

Closed junlarsen closed 3 years ago

junlarsen commented 3 years ago

This fixes an issue where the ternary operator for sending a body was inverted (lol)