Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #351 by reverting argument name changes for .decode() #352

Merged
merged 2 commits into from
May 24, 2018
Merged

Conversation

mark-adams
Copy link
Contributor

@jpadilla Can you give a quick review to this so we can get a new release out to fix this breaking API change?

@mark-adams mark-adams requested a review from jpadilla May 24, 2018 02:17
Copy link
Owner

@jpadilla jpadilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks!

@jpadilla jpadilla merged commit d25c92c into master May 24, 2018
@jacopofar jacopofar mentioned this pull request May 29, 2018
@@ -128,7 +128,7 @@ def encode(self,
return b'.'.join(segments)

def decode(self,
token, # type: str
jwt, # type: str

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jpadilla, @mark-adams: I might be wrong, but this looks like it used to be jws before, as can be seen in here: aed7305#diff-971ea3149c0d11912490c16fc9f982a9L120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants