Skip to main content

revoke

Function revoke 

Source
pub(crate) fn revoke(state: &AppState, id: &str) -> Result<bool, String>
Expand description

Remove row id. Returns whether it was there; an error when the file could not be written, in which case the row stays (it would be back after a restart anyway). The next request from the page asks again.