Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: unexpectedly found nil while forcing an Optional value
--> 9bb2f92845a80544af9d7dfc116a2fc324b07c25765c431bb154b2fea3afcadc:100:18
|
100 | let nft = collectionRef.borrowMomentNFT(id: saleItemID)!
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^