Open IamDushu opened 1 year ago
Solution :
The error occurs as we are trying to find the properties object in item but it doesn't exist.
const myItem = response.body.order.line_items[0]
const myWallet = myItem.properties[0]
const walletAddress = myWallet.value
Problem :
Can't find the value of the walletAddress from the following code. An Error is being displayed.
const walletAddress = item.properties.find((p) => p.name === "Wallet Address").value;