fix: magic code casing (#1519)

This commit is contained in:
pablohashescobar 2023-07-13 16:49:37 +05:30 committed by GitHub
parent 61ad6b9e0e
commit 411a661abd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -345,7 +345,7 @@ class MagicSignInEndpoint(BaseAPIView):
def post(self, request):
try:
user_token = request.data.get("token", "").strip().lower()
user_token = request.data.get("token", "").strip()
key = request.data.get("key", False)
if not key or user_token == "":