Skip to content

Commit 3f8efc0

Browse files
Merge pull request #201 from Code4GovTech/dev
github_token changed to api_token
2 parents 3d09bab + 19974ed commit 3f8efc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handlers/pull_request_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def extract_issue_number(self, title):
1717

1818
async def get_issue_data(self, owner, repo, issue_number):
1919
try:
20-
GITHUB_TOKEN = os.getenv('GITHUB_TOKEN')
20+
GITHUB_TOKEN = os.getenv('API_TOKEN')
2121
print('github token is ', GITHUB_TOKEN)
2222
headers = {
2323
"Accept": "application/vnd.github+json",

0 commit comments

Comments
 (0)