WIP...
This commit is contained in:
parent
e7d2f8f6c7
commit
57d7e7a3ce
17 changed files with 608 additions and 500 deletions
|
|
@ -18,7 +18,7 @@ use crate::{
|
|||
email, model, utils,
|
||||
};
|
||||
|
||||
mod api;
|
||||
pub mod webapi;
|
||||
|
||||
///// UTILS /////
|
||||
|
||||
|
|
@ -255,7 +255,6 @@ pub async fn edit_recipe(
|
|||
#[get("/recipe/new")]
|
||||
pub async fn new_recipe(
|
||||
req: HttpRequest,
|
||||
path: web::Path<(i64,)>,
|
||||
connection: web::Data<db::Connection>,
|
||||
) -> Result<HttpResponse> {
|
||||
let user = match get_current_user(&req, connection.clone()).await {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue