mirror of
https://github.com/wizarrrr/wizarr.git
synced 2026-07-31 07:17:10 -04:00
Finish migrating all db.session.get() + abort(404) patterns to the modern Flask-SQLAlchemy 3.x db.get_or_404() helper across all files modified by this PR. Changes: - admin/routes.py: 3 instances converted - admin_accounts/routes.py: 3 instances converted - connections/routes.py: 2 instances converted - notifications/routes.py: 1 instance converted - user_details.py: 1 instance converted (also removed unnecessary abort import) This completes the migration started in the previous commit, ensuring consistent use of the Flask-SQLAlchemy 3.x pattern throughout the PR. Total conversions in PR: 17 instances (7 wizard + 10 other files)