Bläddra i källkod

Refactor WorkflowService to handle missing default credentials gracef… (#25960)

tags/1.9.0
Xiyuan Chen 1 månad sedan
förälder
incheckning
9f138ef246
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2
    1
      api/services/workflow_service.py

+ 2
- 1
api/services/workflow_service.py Visa fil

@@ -450,7 +450,8 @@ class WorkflowService:
)

if not default_provider:
raise ValueError("No default credential found")
# plugin does not require credentials, skip
return

# Check credential policy compliance using the default credential ID
from core.helper.credential_utils import check_credential_policy_compliance

Laddar…
Avbryt
Spara