Team-TAU / tau

TAU- Twitch API Unifier, a containerized relay/proxy to unify the WebHook- and WebSocket-based real-time Twitch APIs under a single (local) WebSocket connection.
MIT License
149 stars 38 forks source link

[BUG] Helix passthrough for moderation/bans endpoint doesn't forward data #107

Closed techygrrrl closed 2 years ago

techygrrrl commented 2 years ago

Trying to contact the endpoint POST https://api.twitch.tv/helix/moderation/bans does not appear to forward the request body to Twitch.

Docs: https://dev.twitch.tv/docs/api/reference#ban-user

The endpoint appears to be indicated as new, and I don't see it in the list of helix endpoints, so maybe support hasn't been added? If that's the case, maybe it's a feature ticket and not a bug ticket?

image

To Reproduce

Make a request to the above-mentioned endpoint with valid data (e.g. your user ID as both broadcaster and moderator IDs).

It says we aren't sending user_id but we are.

I have tried both wrapped with data as documented and without data.

Screenshots

image

Deployment:

techygrrrl commented 2 years ago

YAAAAAY 2