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

Example for Moderation API has the test backward #195

Closed
petergolde opened this issue Mar 25, 2023 · 0 comments · Fixed by #204
Closed

Example for Moderation API has the test backward #195

petergolde opened this issue Mar 25, 2023 · 0 comments · Fixed by #204
Milestone

Comments

@petergolde
Copy link

The documentation for the Moderation API has the test backward. It should say "!= false" instead of "!= true", because "Flagged" is set to false if the content is OK, and true if the content is unacceptable.

I tested this with an actual call to the service, just to make sure I understood how it works.

@kayhantolga kayhantolga added this to the 8.4.2 milestone Mar 28, 2023
@kayhantolga kayhantolga linked a pull request Mar 28, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants