Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/routes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from flask import Blueprint, render_template, redirect, url_for, flash, request, jsonify, send_from_directory, current_app
from urllib.parse import urlparse
from flask_login import login_user, logout_user, login_required, current_user
from sqlalchemy import text
from app import db
from app.models import User, Subscription, UserSettings, PaymentMethod, ExchangeRate, Webhook
from app.forms import (LoginForm, SubscriptionForm, UserSettingsForm,
Expand All @@ -17,7 +18,7 @@ def health_check():
"""Health check endpoint for monitoring"""
try:
# Check database connectivity
db.session.execute('SELECT 1')
db.session.execute(text('SELECT 1'))

# Check if currency converter is working
from app.currency import currency_converter
Expand Down
Loading