Browse Source

refactor(app): add moderator service initialization

Librellium 3 weeks ago
parent
commit
a9d04e5ec0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      anonflow/app.py

+ 1 - 0
anonflow/app.py

@@ -90,6 +90,7 @@ class Application:
                 BanRepository(),
                 ModeratorRepository()
             )
+            await self.moderator_service.init()
             self.user_service = UserService(
                 self.database,
                 UserRepository()