Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> e65fca91634988486eb04ca7a7de85266a21776180a034dbe45543099c77b99d:26:8
|
26 | eventRef.addTicketType(ticketTypeID: ticketTypeID)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: The TicketType has already beed added to the event.
--> 09e8665388e90671.TixologiTickets:308:46
|
308 | self.numberMintedPerTicketType[ticketTypeID] == nil: "The TicketType has already beed added to the event."
| ^^^^^^^^^^^^^^^^^^^^^