Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction invocation failed when executing transaction: [Error Code: 1101] cadence runtime error: Execution failed:
error: mismatched types
--> 2ed63fa3bd153f898739219c0f33594b18c425b2f34cb985c153caf298465600:6:54
|
6 | if let listingResourceIDs: [UInt64] = storefrontRef.getListingIDs() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `optional`, got `[UInt64]`
error: value of type `Transaction` has no member `storefront`
--> 2ed63fa3bd153f898739219c0f33594b18c425b2f34cb985c153caf298465600:8:29
|
8 | self.storefront.removeListing(listingResourceID: listingResourceID)
| ^^^^^^^^^^ unknown member