fix: remove deprecated lifecycle and consolidate startup actions (#3311)

* remove deprecated lifecycle and consolidate startup actions

* fix import
This commit is contained in:
Hayden
2024-03-14 14:27:26 -05:00
committed by GitHub
parent d960947258
commit 1af0f426ae
5 changed files with 47 additions and 40 deletions

View File

@@ -22,7 +22,7 @@ from mealie.services.group_services.group_service import GroupService
PROJECT_DIR = Path(__file__).parent.parent.parent
logger = root_logger.get_logger("init_db")
logger = root_logger.get_logger()
def init_db(db: AllRepositories) -> None: