Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit cba93dc7 authored by Pierre Jarriges's avatar Pierre Jarriges
Browse files

add & update template

parent 834f9e69
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ pub async fn add_template( ...@@ -81,7 +81,7 @@ pub async fn add_template(
} }
} }
#[post("/update-template")] #[put("/update-template")]
pub async fn update_template( pub async fn update_template(
website: Data<RwLock<WebSite>>, website: Data<RwLock<WebSite>>,
updated_template: Json<PageTemplate>, updated_template: Json<PageTemplate>,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment