summaryrefslogtreecommitdiff
path: root/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'server.js')
-rw-r--r--server.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/server.js b/server.js
index 9cc2a9c..d3de0db 100644
--- a/server.js
+++ b/server.js
@@ -1065,7 +1065,6 @@ app.get('/games/active', must_be_logged_in, function (req, res) {
let active_games = games.filter(game => game.status === 1);
let finished_games = games.filter(game => game.status === 2);
res.render('games_active.pug', {
- title: "Your Active Games",
user: req.user,
open_games: open_games.filter(g => !g.is_ready),
ready_games: open_games.filter(g => g.is_ready),
@@ -1079,7 +1078,6 @@ app.get('/games/finished', must_be_logged_in, function (req, res) {
let games = QUERY_LIST_FINISHED_GAMES_OF_USER.all({user_id: req.user.user_id});
annotate_games(games, req.user.user_id);
res.render('games_finished.pug', {
- title: "Your Finished Games",
user: req.user,
finished_games: games,
});