Abbreviate startup msg logging

This commit is contained in:
Tau
2019-11-06 17:28:30 -05:00
parent aa53fd8146
commit a96924c24f
2 changed files with 4 additions and 6 deletions
+2 -3
View File
@@ -62,7 +62,7 @@ app.use(async function(req, res, next) {
});
app.post("/request/", function(req, res) {
debug("--- Billing Request ---\n\n", req.body);
debug(`Billing request: ${JSON.stringify(req.body)}`);
const first = req.body[0];
@@ -135,8 +135,7 @@ app.post("/request/", function(req, res) {
playhistory: "000000/0:000000/0:000000/0",
});
debug("\n--- Billing Response ---\n\n", resItems);
debug("");
debug(`Billing response: ${JSON.stringify(resItems)}`);
res.set("content-type", "text/plain");
res.send(resItems);