Skip to content

Commit

Permalink
Clarify logging
Browse files Browse the repository at this point in the history
  • Loading branch information
megastary committed Oct 20, 2023
1 parent 3d951f7 commit 54f2b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/shop.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ router.post('/', ensureAuthenticated, checkKiosk, function (req, res) {
.save()
.then((order) => {
logger.info(
`server.routes.shop__User succesfully purchased product [${req.body.display_name}] for [${req.body.product_price}] via e-shop.`,
`server.routes.shop__User [${req.user.id}] succesfully purchased product [${req.body.display_name}] for [${req.body.product_price}] via e-shop.`,
{
metadata: {
order: order
Expand Down

0 comments on commit 54f2b29

Please sign in to comment.