Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Bump django-graphql-jwt

Michał Jelonek9933d9a1ea1e
diff --git a/Pipfile.lock b/Pipfile.lock
index 998c7cf32e..31223587e1 100644
--- a/Pipfile.lock
+++ b/Pipfile.lock
@@ -282,11 +282,10 @@
},
"django-graphql-jwt": {
"hashes": [
- "sha256:d18085c6bb7bf20701a0cc6ee556436d9558c929aabdcecace52252a43408ab7",
- "sha256:da4c4c4a7c7c75f6c7ed117589076e430614248f155cfe343561fe6bcd10e574"
+ "sha256:6dcf9dd4990098e289d76ab4220edbf436a2e26dc6af1d4a526ac699ad93bf14"
],
"index": "pypi",
- "version": "==0.2.0"
+ "version": "==0.2.1"
},
"django-impersonate": {
"hashes": [
diff --git a/requirements.txt b/requirements.txt
index 4cc150836a..de2d85201f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -29,7 +29,7 @@ django-debug-toolbar==1.11
django-elasticsearch-dsl==0.5.1
django-filter==2.0.0
django-fsm==2.6.0
-django-graphql-jwt==0.2.0
+django-graphql-jwt==0.2.1
django-impersonate==1.3
django-js-asset==1.1.0
django-measurement==3.0.0
diff --git a/saleor/graphql/core/mutations.py b/saleor/graphql/core/mutations.py
index 99dd1a07e4..3ef9c00bc5 100644
--- a/saleor/graphql/core/mutations.py
+++ b/saleor/graphql/core/mutations.py
@@ -376,7 +376,7 @@ class CreateToken(ObtainJSONWebToken):
return result
@classmethod
- def resolve(cls, root, info):
+ def resolve(cls, root, info, **kwargs):
return cls(user=info.context.user, errors=[])