This looks fine, is it saved in your server MarketItems
class as well? That will be required for the dapp to update the sale status for any NFTs.
Message: new BigNumber() not a number: undefined
Do you still get this error? “also why is it messing with my metamask?” I’m not sure what you mean.