Function indexer::state::_set_issuer

source ·
pub fn _set_issuer(principal: Principal, issuer: Issuer) -> Result<(), String>
Expand description

Sets the issuer for the given principal.

§Arguments

  • principal - The principal for which to set the issuer.
  • issuer - The issuer to associate with the principal.

§Returns

  • Ok(()) if the issuer is set successfully.
  • Err(String) if there is an error.