Improve AI logic
This commit is contained in:
@@ -43,7 +43,7 @@ def get_enhanced_notification_service():
|
||||
# ============================================================================
|
||||
|
||||
@router.post(
|
||||
route_builder.build_base_route("send", include_tenant_prefix=False),
|
||||
route_builder.build_base_route("send"),
|
||||
response_model=NotificationResponse,
|
||||
status_code=201
|
||||
)
|
||||
@@ -51,6 +51,7 @@ def get_enhanced_notification_service():
|
||||
@track_endpoint_metrics("notification_send")
|
||||
async def send_notification(
|
||||
notification_data: Dict[str, Any],
|
||||
tenant_id: UUID = Path(..., description="Tenant ID"),
|
||||
current_user: Dict[str, Any] = Depends(get_current_user_dep),
|
||||
notification_service: EnhancedNotificationService = Depends(get_enhanced_notification_service)
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user