Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> d1bebd1897d1a3f6a75ebd9d267cff5dd7ab25feb46bc2744c5309cc56e24560:31:8
|
31 | self.adminRef.createEvent(eventID: eventID, name: name, startTime: startTime, venue: venue, eventType: eventType, timeZone: timeZone, gateTime: gateTime, image: image, description: description)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: resource loss: attempting to assign to non-nil resource-typed value
--> 09e8665388e90671.TixologiTickets:668:34
|
668 | TixologiTickets.events[newID] <-! newEvent
| ^^^^^^^