Explorar el Código

refactor(app): add moderator service initialization

Librellium hace 3 semanas
padre
commit
a9d04e5ec0
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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()