def perform2b
cswap-bend-cli@0.1.0.0 · swrun.bend:166
import cswap-bend-cli@0.1.0.0/swrun.bend as Swrun
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/act.bend as Act
import cswap-bend-cli@0.1.0.0/swlive.bend as L
import cswap-bend-cli@0.1.0.0/store/base.bend as SBase
import cswap-bend-cli@0.1.0.0/store/seq.bend as SSeq
166def perform2b(+ctx: SBase.Ctx, +root: String, +target: String, +force: Bool, +pre: L.Pre, +ts: String, +seq_text: String, +seq: Json.Json, +rec: Maybe<&2, Json.Json>) -> Act.of(Json.Json):
167 match rec:
168 case None{}:
169 Act.fail(Json.Json, 3, "Account-" ++ target ++ " does not exist")
170 case Some{r}:
171 perform3(ctx, root, target, force, pre, ts, seq_text, seq, SSeq.field_str(r, "email"))