mirror of https://github.com/langgenius/dify.git
- Improved error handling in `TriggerSubscriptionListApi` to return a 404 response for ValueErrors. - Refactored end user creation logic in `service_api/wraps.py` to use `get_or_create_end_user` for better clarity and consistency. - Introduced a new method `create_end_user_batch` for batch creation of end users, optimizing database interactions. - Updated various trigger-related services to utilize the new end user handling, ensuring proper user context during trigger dispatching. |
||
|---|---|---|
| .. | ||
| schedule_service.py | ||
| trigger_provider_service.py | ||
| trigger_service.py | ||
| trigger_subscription_builder_service.py | ||
| webhook_service.py | ||