Better editor updating

This commit is contained in:
Gregory Schier
2023-02-28 12:41:03 -08:00
parent d77ed0c5cc
commit be7ef7beb1
5 changed files with 106 additions and 71 deletions

View File

@@ -306,7 +306,7 @@ pub async fn delete_all_responses(
Ok(())
}
fn generate_id(prefix: &str) -> String {
pub fn generate_id(prefix: &str) -> String {
format!(
"{prefix}_{}",
Alphanumeric.sample_string(&mut rand::thread_rng(), 10)