Skip to content

Commit

Permalink
Fix type error, see #31
Browse files Browse the repository at this point in the history
  • Loading branch information
codingjoe committed Jan 4, 2021
1 parent 58941cf commit 08065db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lintipy.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def token(self):
bearer = jwt.encode(payload, self.pem, algorithm='RS256')
headers = {
'Accept': 'application/vnd.github.machine-man-preview+json',
'Authorization': 'Bearer %s' % bearer.decode(encoding='UTF-8')
'Authorization': 'Bearer %s' % bearer
}
url = (
'https://api.github.com/app/installations/'
Expand Down

0 comments on commit 08065db

Please sign in to comment.