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