This commit is contained in:
Yeuoly
2025-10-18 19:41:53 +08:00
parent 6d09330f98
commit 5d6b9b0cb1
10 changed files with 38 additions and 35 deletions

View File

@ -110,9 +110,8 @@ class WebhookTriggerDebugEventPoller(TriggerDebugEventPoller):
webhook_data = payload.get("webhook_data", {})
workflow_inputs = WebhookService.build_workflow_inputs(webhook_data)
workflow_args = {
workflow_args: Mapping[str, Any] = {
"inputs": workflow_inputs or {},
"query": "",
"files": [],
}
return TriggerDebugEvent(workflow_args=workflow_args, node_id=self.node_id)

View File

@ -19,10 +19,10 @@ class TriggerProviderSubscriptionApiEntity(BaseModel):
name: str = Field(description="The name of the subscription")
provider: str = Field(description="The provider id of the subscription")
credential_type: CredentialType = Field(description="The type of the credential")
credentials: dict = Field(description="The credentials of the subscription")
credentials: dict[str, Any] = Field(description="The credentials of the subscription")
endpoint: str = Field(description="The endpoint of the subscription")
parameters: dict = Field(description="The parameters of the subscription")
properties: dict = Field(description="The properties of the subscription")
parameters: dict[str, Any] = Field(description="The parameters of the subscription")
properties: dict[str, Any] = Field(description="The properties of the subscription")
workflows_in_use: int = Field(description="The number of workflows using this subscription")