made code more readable

This commit is contained in:
Arlo Filley 2022-11-06 19:07:46 +00:00
parent 471dd2381e
commit d19fb43ada

View File

@ -25,8 +25,16 @@ struct PostTest<'r> {
#[post("/post_test", data = "<test>")]
fn post_test(test: Json<PostTest<'_>>) {
sql::post_test(test.test_type, test.test_length, test.test_time, test.test_seed, test.quote_id, test.wpm, test.accuracy, test.user_id)
.expect("error in posting test to tests table");
sql::post_test(
test.test_type,
test.test_length,
test.test_time,
test.test_seed,
test.quote_id,
test.wpm,
test.accuracy,
test.user_id
).expect("error in posting test to tests table");
}
#[launch]