Skip to content

Instantly share code, notes, and snippets.

@simonrenoult
Created May 18, 2018 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonrenoult/f4e9da9464622a60f4c7cc177188afbf to your computer and use it in GitHub Desktop.
Save simonrenoult/f4e9da9464622a60f4c7cc177188afbf to your computer and use it in GitHub Desktop.
const orderData = Object.assign(
{
total_amount: totalAmount,
shipment_amount: orderShipmentPrice,
total_weight: orderTotalWeight
},
{ product_list: req.body.product_list }
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment