def check

cswap-bend-cli@0.1.0.0 · daemon/identity.bend:118

import cswap-bend-cli@0.1.0.0/daemon/identity.bend as Identity
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

118# "ok" or "identity-conflict" for the account the token endpoint named
119# (JNull when it named none).
120def check(+root: String, +slot: String, +acct: Json.Json) -> Act.of(String):
121  with_uuid(String.is_empty(str_of(acct, "uuid")), root, slot, str_of(acct, "uuid"), str_of(acct, "organizationUuid"))

Uses (6)

Used by (1)