Fixup user service initiation in main
This commit is contained in:
parent
395164f630
commit
ecb98dac53
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ def create_app(name: str, config: Config) -> Flask:
|
||||||
user_repo = UserRepoImpl(database)
|
user_repo = UserRepoImpl(database)
|
||||||
email_service = get_email_service(config.email)
|
email_service = get_email_service(config.email)
|
||||||
app.services = AppServices(
|
app.services = AppServices(
|
||||||
users=UserService(user_repo),
|
users=UserService(user_repo, email_service),
|
||||||
auth=AuthService(config.auth),
|
auth=AuthService(config.auth),
|
||||||
email=email_service,
|
email=email_service,
|
||||||
notifications=get_notification_service(email_service),
|
notifications=get_notification_service(email_service),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue