aboutsummaryrefslogtreecommitdiff
path: root/api/game/random.py
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-23 19:44:43 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-23 19:44:43 +0100
commite2466a6e4cda8ade7d755beae2d74e13454e91fa (patch)
tree296dc6c576ea50211507060109fa5e8265dd7a68 /api/game/random.py
parent2e740cbf81f41804cdf7cf355c3d41de9eca2ac7 (diff)
auth_required decorator
Diffstat (limited to 'api/game/random.py')
-rw-r--r--api/game/random.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/api/game/random.py b/api/game/random.py
index ffba520..096d5be 100644
--- a/api/game/random.py
+++ b/api/game/random.py
@@ -13,8 +13,6 @@ random_game = Blueprint('random', __name__)
@random_game.route('/random')
def index():
- data = request.get_json()
-
token = request.cookies.get("token") or ""
if not token:
print("a temporary user should be set up here")