Skip to main content

change

Function change 

Source
pub(super) fn change(
    state: &AppState,
    req: &CommandPinsChangeData,
    how: Change,
    by: Option<&str>,
) -> Result<(), String>
Expand description

Changes one pin. by is the agent that asked and that the person allowed on a card (pin_ask), and None when the person’s own window makes the change: the log says which, and for an agent’s change it says the person confirmed it.