Fix pattern match for webhook.