Skip to content

Commit

Permalink
Update user.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hengry6th committed May 9, 2020
1 parent 2ab1584 commit 7ac5745
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions textMark/register/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@ def get_user_info(request):
else:
return JsonResponse({
"ret":0,
"user_name": user.username,
"user_id": user.id
})
"user_name": user.name,
"user_id": user.username
})

0 comments on commit 7ac5745

Please sign in to comment.