|
|
@ -208,7 +208,7 @@ def send():
|
|
|
|
msg = tx['message'].capitalize()
|
|
|
|
msg = tx['message'].capitalize()
|
|
|
|
msg_lower = tx['message'].replace(' ', '_').lower()
|
|
|
|
msg_lower = tx['message'].replace(' ', '_').lower()
|
|
|
|
flash(f'There was a problem sending the transaction: {msg}')
|
|
|
|
flash(f'There was a problem sending the transaction: {msg}')
|
|
|
|
capture_event(user.id, f'tx_fail_{msg_lower}')
|
|
|
|
capture_event(user.id, f'tx_fail_{msg_lower[0:50]}')
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
flash('Successfully sent transfer.')
|
|
|
|
flash('Successfully sent transfer.')
|
|
|
|
capture_event(user.id, 'tx_success')
|
|
|
|
capture_event(user.id, 'tx_success')
|
|
|
|