diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-04-16 16:36:58 +0200 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-04-16 16:36:58 +0200 |
commit | b9e1d1537bb9b8b178d9d6cb7aca06d8cfc068a4 (patch) | |
tree | 8fce0b45620b886be983fa6dc13c365dabf8f7ba /api/game/accept.py | |
parent | b9a935cf545db36d714b44fdea96f448de67271e (diff) |
complete api documentation in api/readme.md
Diffstat (limited to 'api/game/accept.py')
-rw-r--r-- | api/game/accept.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/game/accept.py b/api/game/accept.py index bf63c46..1f73fd1 100644 --- a/api/game/accept.py +++ b/api/game/accept.py @@ -14,7 +14,7 @@ join_game = Blueprint('game_accept', __name__) # join a game by game_id (public or private) @join_game.route('/accept', methods=['POST']) -@auth_required("user") +@auth_required("user") #FIXME: this doesn't work haha i don't know when i wrote this def index(game_id): if cursor.execute("select status from games where game_id = ?", [game_id]).fetchone()[0] != "wait_for_opponent": |