diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-28 12:19:28 +0200 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-28 12:19:28 +0200 |
commit | 2f4536d6b08b69168ebf3e718cbd8e3002b9af5a (patch) | |
tree | 5307692fb341d7f924ee9b73f3751e7e56cfb192 /api/game/new.py | |
parent | 1f897d3f5ad11178cf4776ae4070c9d3e832f5f3 (diff) |
added comments
Diffstat (limited to 'api/game/new.py')
-rw-r--r-- | api/game/new.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/game/new.py b/api/game/new.py index 5d8d5b7..9868099 100644 --- a/api/game/new.py +++ b/api/game/new.py @@ -36,6 +36,8 @@ new_game = Blueprint('new_game', __name__) @new_game.route('/new', methods = ["GET", "POST"]) @auth_required("user") def index(user_id): + # create a new private game (join by link) + #TODO: friend invites + notifications game_id = create_game(user_id, True) return { "id": game_id }, 200 |