v0.10-frontend-compiles2
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user