Compare commits
No commits in common. "22bb79bfbdfb273580fe1b10c8e4ccb47191d7e6" and "eba4b779839eca0164457dd242ec34a3ccb762e0" have entirely different histories.
22bb79bfbd
...
eba4b77983
@ -281,13 +281,8 @@ async fn new_dozen(
|
||||
if let Err(e) = data.proof.move_copy_to(file_path).await {
|
||||
eprintln!("Failed to persist file: {:?}", e);
|
||||
}
|
||||
let result = data.result.trim();
|
||||
let result = if result.len() == 4 {
|
||||
result.to_string()
|
||||
}else{
|
||||
let result = result.trim_start_matches(|c| c == '0' || c == ' ');
|
||||
format_time(result)
|
||||
};
|
||||
let result = data.result.trim_start_matches(|c| c == '0' || c == ' ');
|
||||
let result = format_time(result);
|
||||
|
||||
sqlx::query!(
|
||||
"UPDATE user SET dirty_dozen = ? where id = ?",
|
||||
|
Loading…
Reference in New Issue
Block a user