changing api location

This commit is contained in:
Chris Cochrun 2024-12-19 11:38:57 -06:00
parent 1933a20570
commit 676038961d

View file

@ -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"),