def ia.identity
cswap-bend-cli@0.1.0.0 · importu.bend:337
import cswap-bend-cli@0.1.0.0/importu.bend as Importu
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
337def ia.identity(email: Maybe<&2, String>, org: Json.Json, +row: Json.Json, +seq: Json.Json, +now: U32, +off: U32, ia: IA) -> IA:
338 match email org:
339 case Some{e} Json.JNull{}:
340 ia.ident2(e, "", row, seq, now, off, ia)
341 case Some{e} Json.JStr{o}:
342 ia.ident2(e, o, row, seq, now, off, ia)
343 case _ _:
344 ia.err("each account row needs an email and an organizationUuid", ia)