fix: magic code casing (#1519)
This commit is contained in:
parent
61ad6b9e0e
commit
411a661abd
1 changed files with 1 additions and 1 deletions
|
|
@ -345,7 +345,7 @@ class MagicSignInEndpoint(BaseAPIView):
|
||||||
|
|
||||||
def post(self, request):
|
def post(self, request):
|
||||||
try:
|
try:
|
||||||
user_token = request.data.get("token", "").strip().lower()
|
user_token = request.data.get("token", "").strip()
|
||||||
key = request.data.get("key", False)
|
key = request.data.get("key", False)
|
||||||
|
|
||||||
if not key or user_token == "":
|
if not key or user_token == "":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue