changing api location
This commit is contained in:
parent
1933a20570
commit
676038961d
|
@ -347,7 +347,7 @@ impl HealthForm {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[post("/health-form")]
|
#[post("/api/health-form")]
|
||||||
pub async fn health_form(MultipartForm(mut form): MultipartForm<HealthForm>) -> HttpResponse {
|
pub async fn health_form(MultipartForm(mut form): MultipartForm<HealthForm>) -> HttpResponse {
|
||||||
match form.send_email().await {
|
match form.send_email().await {
|
||||||
Ok(_) => info!("Successfully sent email health form"),
|
Ok(_) => info!("Successfully sent email health form"),
|
||||||
|
|
Loading…
Reference in a new issue