Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AddBlockedTerm() does not use provided data #208

Closed
tarumes opened this issue Dec 30, 2023 · 2 comments
Closed

AddBlockedTerm() does not use provided data #208

tarumes opened this issue Dec 30, 2023 · 2 comments

Comments

@tarumes
Copy link

tarumes commented Dec 30, 2023

r, err := api.AddBlockedTerm(&helix.AddBlockedTermParams{
	BroadcasterID: self.Data.UserID,
	ModeratorID:   self.Data.UserID,
	Text:          "stream-rise",
})
if err != nil {
	panic(err)
}
log.Printf("%+v\n", r)
&{ResponseCommon:{StatusCode:400 Header:map[Content-Length:[92] Content-Type:[application/json; charset=utf-8] Date:[Sat, 30 Dec 2023 13:32:14 GMT] Strict-Transport-Security:[max-age=300] Timing-Allow-Origin:[https://www.twitch.tv] Vary:[Accept-Encoding, Origin] X-Cache:[MISS, MISS] X-Cache-Hits:[0, 0] X-Served-By:[cache-bfi-kbfi7400075-BFI, cache-mxp6937-MXP] X-Timer:[S1703943134.032044,VS0,VS0,VE164]] Error:Bad Request ErrorStatus:400 ErrorMessage:Missing required parameter "moderator_id"} Data:{Terms:[]}}
@jackmcguire1
Copy link
Contributor

jackmcguire1 commented Jan 3, 2024

Think i've found the issues :D

#209

@nicklaw5
Copy link
Owner

nicklaw5 commented Jan 9, 2024

@nicklaw5 nicklaw5 closed this as completed Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants