feat: add notify system to tg
This commit is contained in:
@@ -12,6 +12,7 @@ from src.infrastructure.logger import logger
|
||||
from src.infrastructure.config import settings
|
||||
from src.presentation.handlers import application_exception_handler, unhandled_exception_handler
|
||||
from src.presentation.messaging.code import code_broker
|
||||
from src.presentation.messaging.consumers import notify_broker
|
||||
from src.presentation.middleware import TraceIDMiddleware, SecurityHeadersMiddleware
|
||||
|
||||
|
||||
@@ -59,6 +60,7 @@ app.add_exception_handler(Exception, unhandled_exception_handler)
|
||||
v1_router = APIRouter(prefix='/v1')
|
||||
app.include_router(v1_router)
|
||||
app.include_router(code_broker)
|
||||
app.include_router(notify_broker)
|
||||
|
||||
|
||||
# Added middleware
|
||||
|
||||
Reference in New Issue
Block a user