Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 9f26cc21238d75cfa231206604e97700df8fab26ab76cdadc55d944e78902013:15:23
|
15 | let brandRef = self.adminRef.borrowBrand(brandID: "FuH3yejHgC3UyDHNsJjgkf")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: Cannot borrow Brand: The Brand doesn't exist
--> 8c55fba7d7090fee.Magnetiq:1122:31
|
1122 | Magnetiq.brands[brandID] != nil: "Cannot borrow Brand: The Brand doesn't exist"
| ^^^^^^^^^^^^^^^^