diff options
| -rw-r--r-- | index.js | 6 | ||||
| -rw-r--r-- | routes/assets.js | 2 |
2 files changed, 5 insertions, 3 deletions
@@ -119,7 +119,7 @@ app.post("/build", (req, res) => { }; mailgun.messages().send(data); - l.info("Build starting"); + l.info("build starting"); fs.writeFileSync("build.json", req.body.payload); const { exec } = require("child_process"); @@ -133,7 +133,7 @@ app.post("/build", (req, res) => { }; mailgun.messages().send(data); - l.warn("Build failed"); + l.warn("build failed"); } else { data = { subject: "Build finished", @@ -143,7 +143,7 @@ app.post("/build", (req, res) => { }; mailgun.messages().send(data); - l.info("Build finished"); + l.info("build finished"); } }); }); diff --git a/routes/assets.js b/routes/assets.js index 7d2cdfcf..38759e20 100644 --- a/routes/assets.js +++ b/routes/assets.js @@ -91,6 +91,8 @@ app.post( version }; + l.info("attempting issuance", req.user.username, contract); + sha256.update(JSON.stringify(contract)); const hash = sha256.digest("hex"); const contract_hash = hash |
