lonkaars / connect-4

It's like chess.com but for connect 4
https://connect4.pipeframe.xyz
MIT License
4 stars 0 forks source link

Internal server error when trying to access data using invalid token #6

Closed lonkaars closed 3 years ago

lonkaars commented 3 years ago
Traceback (most recent call last):
  File "api/user/info.py", line 83, in index
    user = format_user(user_id, viewer)
  File "api/user/info.py", line 39, in format_user
    "username": user[0],
TypeError: 'NoneType' object is not subscriptable
lonkaars commented 3 years ago

Fixed by the refactor