mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-04 15:03:10 -05:00
refactor: move dependencies to controllers (#1550)
* Moves dependencies directly to controllers * Reduces use of @cached_property - (I have a suspicion that this is a factor in memory usage) * reduce duplicate ways to access the same property on a controller.
This commit is contained in:
@@ -24,8 +24,8 @@ class RegistrationController(BasePublicController):
|
||||
)
|
||||
|
||||
registration_service = RegistrationService(
|
||||
self.deps.logger,
|
||||
get_repositories(self.deps.session),
|
||||
self.logger,
|
||||
get_repositories(self.session),
|
||||
self.translator,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user