05/31 Fix template
This commit is contained in:
@@ -138,7 +138,12 @@ def map_accounts(enrollment_id):
|
||||
@login_required
|
||||
def index():
|
||||
enrollments = TellerEnrollment.query.filter_by(is_active=True).all()
|
||||
return render_template('teller/index.html', enrollments=enrollments)
|
||||
return render_template('teller/index.html',
|
||||
enrollments=enrollments,
|
||||
teller_app_id=current_app.config.get('TELLER_APP_ID', ''),
|
||||
teller_env=current_app.config.get('TELLER_ENV', 'development'),
|
||||
teller_cert_path=current_app.config.get('TELLER_CERT_PATH', ''),
|
||||
teller_key_path=current_app.config.get('TELLER_KEY_PATH', ''))
|
||||
|
||||
|
||||
# ── Sync: preview then confirm ────────────────────────────────────────────────
|
||||
@@ -334,4 +339,4 @@ def webhook():
|
||||
# Just log — user syncs manually via UI preview flow
|
||||
log.info(f'[teller] new transactions available for enrollment {enrollment_id}')
|
||||
|
||||
return jsonify({'status': 'received'}), 200
|
||||
return jsonify({'status': 'received'}), 200
|
||||
|
||||
Reference in New Issue
Block a user