mirror of https://github.com/langgenius/dify.git
fix(trigger): add missing fields in TriggerEventNode configuration
This commit is contained in:
parent
52b180104a
commit
b2730d680c
|
|
@ -42,11 +42,13 @@ class TriggerEventNode(Node):
|
|||
return {
|
||||
"type": "plugin",
|
||||
"config": {
|
||||
"title": "",
|
||||
"plugin_id": "",
|
||||
"provider_id": "",
|
||||
"event_name": "",
|
||||
"subscription_id": "",
|
||||
"parameters": {},
|
||||
"plugin_unique_identifier": "",
|
||||
"event_parameters": {},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
@ -64,7 +66,7 @@ class TriggerEventNode(Node):
|
|||
|
||||
# Get trigger data passed when workflow was triggered
|
||||
inputs = dict(self.graph_runtime_state.variable_pool.user_inputs)
|
||||
|
||||
|
||||
# The event already ran before workflow execution, so we can get the outputs from the inputs
|
||||
outputs = inputs.get("inputs", {})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue