diff --git a/backend/index.js b/backend/index.js index 9a54914..8d40b45 100644 --- a/backend/index.js +++ b/backend/index.js @@ -131,7 +131,7 @@ app.put("/API/user/create", function (req, res) { connection.query(`INSERT INTO user (deactivated, email, password) values (1, ${email}, ${password})`, function (err, rows) { if (err) return res.send(status.INTERNAL_SERVER_ERROR).send("the user seems to exist already - if you think this is an error contact the sys admin"); - return res.status(status.OK).send(); + return res.status(status.OK).send("account successfully created"); }); } else { res.status(status.BAD_REQUEST).send("invalid data supplied");