Ver Fonte

refactor(app): add moderator service initialization

Librellium há 3 semanas atrás
pai
commit
a9d04e5ec0
1 ficheiros alterados com 1 adições e 0 exclusões
  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()