Skip to main content

decode_subscription

Function decode_subscription 

Source
pub fn decode_subscription(
    file: &str,
    name: &str,
    raw: &Value,
    vault: &mut BTreeMap<String, String>,
) -> Result<WebhookSubscription, InterchangeError>
Expand description

One webhook_subscriptions.json entry; the secret’s value goes to the vault.