diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-27 20:27:02 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-27 20:27:02 +0100 |
commit | 1f897d3f5ad11178cf4776ae4070c9d3e832f5f3 (patch) | |
tree | 9589c50d46ac78652068da8d8c0d2cd26b4db4a8 /api/game | |
parent | ac7aff3de98cbc26dc0826f297b504ccb0011295 (diff) |
game/accept fix + stuk dir in voerbak
Diffstat (limited to 'api/game')
-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 36bc018..7aab697 100644 --- a/api/game/accept.py +++ b/api/game/accept.py @@ -14,7 +14,7 @@ join_game = Blueprint('game_accept', __name__) @join_game.route('/accept', methods = ['POST']) @auth_required("user") -def index(user_id): +def index(game_id): if cursor.execute("select status from games where game_id = ?", [game_id]).fetchone()[0] != "wait_for_opponent": return "", 403 |