mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 17:18:40 +08:00
fix: correct webhook trigger node id parsing
This commit is contained in:
parent
1b7a5b6209
commit
bb28c718df
@ -33,7 +33,7 @@ class WebhookTriggerApi(Resource):
|
|||||||
parser.add_argument("node_id", type=str, required=True, help="Node ID is required")
|
parser.add_argument("node_id", type=str, required=True, help="Node ID is required")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
node_id = str(args.get["node_id"])
|
node_id = str(args["node_id"])
|
||||||
|
|
||||||
with Session(db.engine) as session:
|
with Session(db.engine) as session:
|
||||||
# Get webhook trigger for this app and node
|
# Get webhook trigger for this app and node
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user