🤖 Invisible engine driving octobot machines. Simple, yet powerful. [DEMO BOT @ https://github.com/sanitizers/chronographer-github-app] | [tutorial @ https://tutorial.octomachinery.dev] | [docs @ https://docs.octomachinery.dev] | official web-site is at -->
GNU General Public License v3.0
56
stars
12
forks
source link
correct the return result based on new change of pyjwt #47
Closed
harshad16 closed 3 years ago
correct the return result based on a new change of pyjwt Signed-off-by: Harshad Reddy Nalla hnalla@redhat.com
The pyjwt package is on version 2.x , in which the return type of encode is str. https://github.com/jpadilla/pyjwt/blob/f02fa0dc87bfa7bc471f3d6d3ca579d66e8f95e0/jwt/api_jwt.py#L44 which breaks the https://github.com/sanitizers/octomachinery/blob/94c3eaa7cc193aa537f0485fd580e26abd25fe26/octomachinery/github/models/private_key.py#L147
Fixes: #46