def github.check

bend-kit-webhooks@0.11.0.1 · webhooks.bend:419

import bend-kit-webhooks@0.11.0.1/webhooks.bend as Webhooks
import Base

419def github.check(+h: Map<&2, List<&2, String>>) -> Result<&1, &1, Err, Unit & String & List<&2, String>>:
420  do Result<&1, &1, Err, Unit & String & List<&2, String>>:
421    sig : String <- need("x-hub-signature-256", field(h, "x-hub-signature-256"))
422    return (Unit{}, "", push(strip("sha256=", sig), Nil{}))

Uses (14)

Used by (1)