mirror of https://github.com/langgenius/dify.git
- Introduced a model validator in TriggerSubscriptionUpdateRequest to enforce that at least one of the fields (name, credentials, parameters, properties) must be provided. - Refactored the TriggerSubscriptionUpdateApi to use the validated request object and simplified the logic for updating subscriptions based on the credential type. - Updated the credential type check in TriggerProviderService to use a set for better performance and clarity. |
||
|---|---|---|
| .. | ||
| app_trigger_service.py | ||
| schedule_service.py | ||
| trigger_provider_service.py | ||
| trigger_request_service.py | ||
| trigger_service.py | ||
| trigger_subscription_builder_service.py | ||
| trigger_subscription_operator_service.py | ||
| webhook_service.py | ||