src/Accounts/eventScanner.js
// fetch ticket details and save in state
fetch ticket details and save in state
fetch ticket details and save in state
async _getTicketDetails(scannedCode) {
    const ticketDetails = await this.props.screenProps.eventManager.getTicketDetails(
      scannedCode
    )
    ticketDetails.redeemedAt = ticketScanLog.getRedeemedAt(ticketDetails.ticket)
    this.setState({ticketDetails})
    return ticketDetails
  }
async _getTicketDetails ( scannedCode ) { const ticketDetails = await this . props . screenProps . eventManager . getTicketDetails ( scannedCode ) ticketDetails . redeemedAt = ticketScanLog . getRedeemedAt ( ticketDetails . ticket ) this . setState ( { ticketDetails } ) return ticketDetails }
fetch ticket details and save in state
fetch ticket details and save in state
// decorate with info from our scan log