Refactor OAuth provider linking and unlinking logic into a dedicated service; enhance error handling and logging throughout the application; improve sound management and scanning services with better file handling and unique naming; implement centralized error and logging services for consistent API responses and application-wide logging configuration.
This commit is contained in:
@@ -13,6 +13,6 @@ def init_db(app):
|
||||
migrate.init_app(app, db)
|
||||
|
||||
# Import models here to ensure they are registered with SQLAlchemy
|
||||
from app.models import user, user_oauth, sound_played # noqa: F401
|
||||
from app.models import sound_played, user, user_oauth # noqa: F401
|
||||
|
||||
return db
|
||||
|
||||
Reference in New Issue
Block a user