refactor: rename shipping to shipping_id
This commit is contained in:
parent
39bcbfb035
commit
f80a75e90c
1 changed files with 2 additions and 2 deletions
|
|
@ -185,7 +185,7 @@ async function customerStall(path) {
|
|||
items: Array.from(this.cart.products, p => {
|
||||
return {product_id: p[0], quantity: p[1].quantity}
|
||||
}),
|
||||
shipping: orderData.shippingzone
|
||||
shipping_id: orderData.shippingzone
|
||||
}
|
||||
orderObj.id = await hash(
|
||||
[orderData.pubkey, created_at, JSON.stringify(orderObj)].join(':')
|
||||
|
|
@ -269,7 +269,7 @@ async function customerStall(path) {
|
|||
items: Array.from(this.cart.products, p => {
|
||||
return {product_id: p[0], quantity: p[1].quantity}
|
||||
}),
|
||||
shipping: orderData.shippingzone
|
||||
shipping_id: orderData.shippingzone
|
||||
}
|
||||
let created_at = Math.floor(Date.now() / 1000)
|
||||
orderObj.id = await hash(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue