fix: correct webhook trigger node id parsing

This commit is contained in:
lyzno1 2025-10-21 11:48:50 +08:00
parent 1b7a5b6209
commit bb28c718df
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class WebhookTriggerApi(Resource):
parser.add_argument("node_id", type=str, required=True, help="Node ID is required")
args = parser.parse_args()
node_id = str(args.get["node_id"])
node_id = str(args["node_id"])
with Session(db.engine) as session:
# Get webhook trigger for this app and node