diff --git a/src/main.rs b/src/main.rs index 4f32d18..f2d6c8d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,8 +25,16 @@ struct PostTest<'r> { #[post("/post_test", data = "")] fn post_test(test: Json>) { - 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]