def github.check
import bend-kit-webhooks@0.11.0.1/webhooks.bend as Webhooksimport 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{}))