05/31 Fix template

This commit is contained in:
2026-05-31 23:01:58 -04:00
parent 350487a75c
commit 6f74f38304
2 changed files with 35 additions and 12 deletions
+7 -2
View File
@@ -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