@flozy/editor 3.4.2 → 3.4.4

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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "3.4.2",
3
+ "version": "3.4.4",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"