@geode/opengeodeweb-front 9.13.1-rc.3 → 9.13.1-rc.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -81,7 +81,7 @@
81
81
  }
82
82
  })
83
83
  function submit_recaptcha() {
84
- $fetch(
84
+ const response = await $fetch(
85
85
  `/.netlify/functions/recaptcha`,
86
86
  {
87
87
  method: "POST",
@@ -102,5 +102,8 @@
102
102
  },
103
103
  },
104
104
  )
105
+
106
+
107
+ console.log("response", response)
105
108
  }
106
109
  </script>
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "description": "OpenSource Vue/Nuxt/Pinia/Vuetify framework for web applications",
42
42
  "type": "module",
43
- "version": "9.13.1-rc.3",
43
+ "version": "9.13.1-rc.5",
44
44
  "main": "./nuxt.config.js",
45
45
  "dependencies": {
46
46
  "@geode/opengeodeweb-back": "next",
@@ -1,4 +1,6 @@
1
- function check_recaptcha_params(name, email, launch) {
1
+ function check_recaptcha_params(event) {
2
+ const { name, email, launch } = JSON.parse(event.body)
3
+ console.log("check_recaptcha_params", { name, email, launch })
2
4
  if (name !== "") {
3
5
  return {
4
6
  statusCode: 500,