Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Post comments using JSON instead of form data (#570)
sarayourfrienddc8a68ba3b77
diff --git a/openverse_catalog/dags/common/github.py b/openverse_catalog/dags/common/github.pyindex 152b3d072..abd08d15d 100644--- a/openverse_catalog/dags/common/github.py+++ b/openverse_catalog/dags/common/github.py@@ -40,7 +40,7 @@ class GitHubAPI:return self._make_request("POST",f"repos/{owner}/{repo}/issues/{issue_number}/comments",- data={"body": comment_body},+ json={"body": comment_body},)def get_issue_comments(