aboutsummaryrefslogtreecommitdiffstats
path: root/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'helpers')
-rw-r--r--helpers/submitForm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/submitForm.js b/helpers/submitForm.js
index d67a7dc..c52494f 100644
--- a/helpers/submitForm.js
+++ b/helpers/submitForm.js
@@ -32,7 +32,7 @@ const submitForm = async (e, url, mutateUser, setErrorMsg) => {
mutateUser(
await fetchJson(url, {
method: 'POST',
- headers: { 'Content-Type': 'application/json' },
+ headers: { 'Content-Type': 'plain/text' },
body: JSON.stringify(body)
})
)