aboutsummaryrefslogtreecommitdiff
path: root/api/game/new.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/game/new.py')
-rw-r--r--api/game/new.py2
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