Edit bug in webhook logic.