Skip to content

Commit 747f978

Browse files
committed
Fix incorrect kwarg name
`jwt.decode` has the keyword-argument `algorithms`, not `algorithm`
1 parent 41300ee commit 747f978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_generate_token_should_return_token(self):
3636
decoded_token = jwt.decode(
3737
token_string,
3838
'SECRET_KEY',
39-
algorithm='HS256',
39+
algorithms='HS256',
4040
)
4141

4242
expected_issuer = 'https://INSTANCE_ID.pushnotifications.pusher.com'

0 commit comments

Comments
 (0)