Skip to content

Commit

Permalink
add log for params
Browse files Browse the repository at this point in the history
  • Loading branch information
dupreesi committed Aug 20, 2024
1 parent 1d2856d commit 9b278cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/fdc-modules/orders/controllers/update-order.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import * as shopifyOrders from './shopify/orders.js';
//todo: transaction
const updateOrder = async (req, res) => {
try {
console.log('updating order with :>> ', req.body);
console.log('updating order with body:>> ', req.body);
console.log('updating order with params :>> ', req.params);
const session = await getSession(
`${req.params.EnterpriseName}.myshopify.com`
);
Expand Down

0 comments on commit 9b278cf

Please sign in to comment.