Remove server logging

This commit is contained in:
BlipRanger
2023-07-18 01:58:29 -04:00
parent 818416b1f2
commit 5090fe76a9

View File

@@ -1282,7 +1282,6 @@ app.post("/getcharacters", jsonParser, function (request, response) {
* @returns {void}
*/
app.post("/getstats", jsonParser, function (request, response) {
console.log(statsHelpers.charStats);
response.send(JSON.stringify(statsHelpers.getCharStats()));
});
@@ -1297,7 +1296,6 @@ app.post("/getstats", jsonParser, function (request, response) {
*
*/
app.post("/updatestats", jsonParser, function (request, response) {
console.log(request.body)
if (!request.body) return response.sendStatus(400);
statsHelpers.setCharStats(request.body);
return response.sendStatus(200);