Skip to main content

act

Function act 

Source
async fn act(
    state: &AppState,
    uid: &str,
    slug: &str,
    action: &str,
    body: &Value,
) -> Result<Value, String>
Expand description

Do action for the agent, and leave an audit row for the steps of a request: the row names the agent that did it, a refused approval or denial included.