From 5dd7072b25146a117e1fbde20b55091ceb7b1604 Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Fri, 1 Nov 2024 14:38:46 +0000 Subject: [PATCH] missing dev script params --- mealie/scripts/change_password.py | 2 +- mealie/scripts/reset_locked_users.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mealie/scripts/change_password.py b/mealie/scripts/change_password.py index aa55c665e57..6ec3b1c1166 100644 --- a/mealie/scripts/change_password.py +++ b/mealie/scripts/change_password.py @@ -14,7 +14,7 @@ def main(): logger = root_logger.get_logger() with session_context() as session: - repos = AllRepositories(session) + repos = AllRepositories(session, group_id=None, household_id=None) user = repos.users.get_one(confirmed, "email") diff --git a/mealie/scripts/reset_locked_users.py b/mealie/scripts/reset_locked_users.py index ca2e5d6e79d..8b36df4f5d4 100644 --- a/mealie/scripts/reset_locked_users.py +++ b/mealie/scripts/reset_locked_users.py @@ -14,7 +14,7 @@ def main(): logger = root_logger.get_logger() with session_context() as session: - repos = AllRepositories(session) + repos = AllRepositories(session, group_id=None, household_id=None) user_service = UserService(repos) locked_users = user_service.get_locked_users()