From bbd0e363b427ac667b569254e3512cb55e080cc6 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 28 Jan 2025 15:12:49 -0600 Subject: [PATCH] remove contact form action --- src/api/contact.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/contact.rs b/src/api/contact.rs index ac3afa4..544ec76 100644 --- a/src/api/contact.rs +++ b/src/api/contact.rs @@ -117,10 +117,10 @@ impl ContactForm { #[post("/api/mt-parent-form")] pub async fn mt_parent_form(MultipartForm(mut form): MultipartForm) -> HttpResponse { - match form.store_form().await { - Ok(_) => info!("Successfully sent form to nextcloud!"), - Err(e) => error!("There was an erroring sending form to nextcloud: {e}"), - } + // match form.store_form().await { + // Ok(_) => info!("Successfully sent form to nextcloud!"), + // Err(e) => error!("There was an erroring sending form to nextcloud: {e}"), + // } match form.send_email().await { Ok(_) => info!("Successfully sent email"), Err(e) => error!("There was an error sending the email: {e}"),