Correct name of CREATED_TICKET constant

Was previously emitting to undefined.