From 0395775a1e63f002fa01bdb71f45054a07064790 Mon Sep 17 00:00:00 2001 From: andrew Date: Tue, 30 Jul 2024 20:49:09 -0400 Subject: [PATCH] remore header --- client/src/pages/post_add.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/client/src/pages/post_add.rs b/client/src/pages/post_add.rs index 384cc17..bcdc8f1 100644 --- a/client/src/pages/post_add.rs +++ b/client/src/pages/post_add.rs @@ -59,7 +59,6 @@ pub fn add_post() -> Html { let devblog_status = devblog_status.clone(); let hdrs = helpers::create_auth_header(&token); - hdrs.append("Content-Type", "multipart/form-data"); let form_data = FormData::new().unwrap(); let _ = form_data.append_with_str("description", &description); let _ = form_data.append_with_str("postToDiscord", &discord.to_string());