@flozy/editor 3.4.2 → 3.4.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,8 @@ export const formSubmit = async (formData, props) => {
|
|
4
4
|
const response = await fetch(`${pageApiHost}/form/submit`, {
|
5
5
|
method: "POST",
|
6
6
|
headers: {
|
7
|
-
"Content-Type": "application/json"
|
7
|
+
"Content-Type": "application/json",
|
8
|
+
"Authorization": `Bearer ${window.siteKey}`
|
8
9
|
},
|
9
10
|
body: JSON.stringify(formData)
|
10
11
|
});
|