diff --git a/krl/io.picolabs.plan.webhook.krl b/krl/io.picolabs.plan.webhook.krl index 49aa299..7d791b8 100644 --- a/krl/io.picolabs.plan.webhook.krl +++ b/krl/io.picolabs.plan.webhook.krl @@ -90,7 +90,8 @@ td, th { pre { event_designation = event_domain + ":" + event_type webhook = ent:webhooks.get(event_designation) - eci = webhook.extract(re#/sky/event/([^/]*)/#).head() + eciRE = re#/sky/event/([^/]*)/# + eci = webhook.get("uri").extract(eciRE).head() } if eci then wrangler:deleteChannel(eci) fired {