summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-05-22 15:41:51 +0200
committerTor Andersson <tor@ccxvii.net>2022-05-22 16:46:43 +0200
commit98f69cedc3b509f774489ea98ce0708dd634579b (patch)
tree5c180684397c92b0e64103d79cb48f0f06a0caff
parent1df38d7d7d5a7e933c61f79ef737be66ab974310 (diff)
downloadserver-98f69cedc3b509f774489ea98ce0708dd634579b.tar.gz
Add some missing semicolons.
-rw-r--r--server.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/server.js b/server.js
index 390a93e..dde1bb0 100644
--- a/server.js
+++ b/server.js
@@ -684,7 +684,7 @@ app.post('/message/send', must_be_logged_in, function (req, res) {
}
let info = MESSAGE_SEND.run(req.user.user_id, to_user.user_id, subject, body);
if (to_user.notify)
- mail_new_message(to_user, info.lastInsertRowid, req.user.name)
+ mail_new_message(to_user, info.lastInsertRowid, req.user.name);
res.redirect('/inbox');
});
@@ -1419,7 +1419,7 @@ app.get('/play/:game_id', function (req, res) {
app.get('/:title_id/play\::game_id\::role', must_be_logged_in, function (req, res) {
let user_id = req.user ? req.user.user_id : 0;
- let title_id = req.params.title_id
+ let title_id = req.params.title_id;
let game_id = req.params.game_id;
let role = req.params.role;
if (!SQL_AUTHORIZE_GAME_ROLE.get(title_id, game_id, role, user_id))
@@ -1428,7 +1428,7 @@ app.get('/:title_id/play\::game_id\::role', must_be_logged_in, function (req, re
});
app.get('/:title_id/play\::game_id', function (req, res) {
- let title_id = req.params.title_id
+ let title_id = req.params.title_id;
let game_id = req.params.game_id;
let a_title = SQL_SELECT_GAME_TITLE.get(game_id);
if (a_title !== title_id)
@@ -1437,7 +1437,7 @@ app.get('/:title_id/play\::game_id', function (req, res) {
});
app.get('/:title_id/replay\::game_id', function (req, res) {
- let title_id = req.params.title_id
+ let title_id = req.params.title_id;
let game_id = req.params.game_id;
let game = SQL_SELECT_GAME.get(game_id);
if (!game)