mirror of https://github.com/langgenius/dify.git
fix(trigger): clean up whitespace in encryption utility and trigger provider service
- Removed unnecessary blank lines in `encryption.py` and `trigger_provider_service.py` for improved code readability. - This minor adjustment enhances the overall code quality without altering functionality. 🤖 Generated with [Claude Code](https://claude.ai/code)
This commit is contained in:
parent
e04083fc0e
commit
85caa5bd0c
|
|
@ -65,6 +65,7 @@ def create_trigger_provider_encrypter_for_subscription(
|
|||
)
|
||||
return encrypter, cache
|
||||
|
||||
|
||||
def delete_cache_for_subscription(tenant_id: str, provider_id: str, subscription_id: str):
|
||||
cache = TriggerProviderCredentialsCache(
|
||||
tenant_id=tenant_id,
|
||||
|
|
@ -73,6 +74,7 @@ def delete_cache_for_subscription(tenant_id: str, provider_id: str, subscription
|
|||
)
|
||||
cache.delete()
|
||||
|
||||
|
||||
def create_trigger_provider_encrypter_for_properties(
|
||||
tenant_id: str,
|
||||
controller: PluginTriggerProviderController,
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ class TriggerProviderService:
|
|||
provider_id=db_provider.provider_id,
|
||||
subscription_id=db_provider.id,
|
||||
)
|
||||
|
||||
|
||||
@classmethod
|
||||
def refresh_oauth_token(
|
||||
cls,
|
||||
|
|
|
|||
Loading…
Reference in New Issue