def sign.check

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

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

304def sign.check(+id: String, +ts: Int.I64) -> Result<&1, &1, Err, String & String>:
305  do Result<&1, &1, Err, String & String>:
306    u : Unit <- id.check(id)
307    w : Unit <- Bool.pick(Result<&1, &1, Err, Unit>, Int.I64.is_neg(ts), Fail{BadTimestamp{}}, Done{Unit{}})
308    return (id, Int.I64.show(ts))

Uses (13)

Used by (1)