aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/evergreen/issues.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/exts/evergreen/issues.py b/bot/exts/evergreen/issues.py
index d8b373d7..5ea8a6bf 100644
--- a/bot/exts/evergreen/issues.py
+++ b/bot/exts/evergreen/issues.py
@@ -26,7 +26,9 @@ BAD_RESPONSE = {
404: "Issue/pull request not located! Please enter a valid number!",
403: "Rate limit has been hit! Please try again later!"
}
-REQUEST_HEADERS = dict()
+REQUEST_HEADERS = {
+ "Accept": "application/vnd.github.v3+json"
+}
REPOSITORY_ENDPOINT = "https://api.github.com/orgs/{org}/repos"
ISSUE_ENDPOINT = "https://api.github.com/repos/{user}/{repository}/issues/{number}"