v0.10-frontend-compiles2

This commit is contained in:
2022-10-31 00:43:14 +05:30
parent bc58e586f7
commit cae044c830
2 changed files with 4 additions and 4 deletions

View File

@@ -282,7 +282,7 @@ return Json(res);
async fn create_book(
Extension(ref conn): Extension<DatabaseConnection>,
doc_sent : Form<BookUI>,
Json(doc_sent): Json<BookUI>,
) -> impl IntoResponse {
println!("Creating book");
let book: book::Model = book::Model{