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 error RefreshedTokenType.__init__() takes 1 positional argument … #353

Merged
merged 1 commit into from
Oct 7, 2022

Conversation

bulatshafigullin
Copy link

Hey guys!

With strawberry-graphql = "0.128.0" I get the error

File "strawberry_django_jwt/mixins.py", line 154, in _refresh
    return RefreshedTokenType(payload, token, new_refresh_token, refresh_expires_in=0)
TypeError: RefreshedTokenType.__init__() takes 1 positional argument but 4 positional arguments (and 1 keyword-only argument) were given

This commit fixes one

…ut 4 positional arguments (and 1 keyword-only argument) were given
@wodCZ
Copy link

wodCZ commented Oct 5, 2022

This solves #355.

@KundaPanda it would be great if you found a moment to merge this 🙏

@KundaPanda KundaPanda merged commit b92372f into KundaPanda:master Oct 7, 2022
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.

3 participants