Skip to content

Commit 2f20243

Browse files
fix(Recaptcha): async function
1 parent 172d99b commit 2f20243

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/Recaptcha.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
}
8181
}
8282
})
83-
function submit_recaptcha() {
83+
async function submit_recaptcha() {
8484
const response = await $fetch(
8585
`/.netlify/functions/recaptcha`,
8686
{
@@ -103,7 +103,6 @@
103103
},
104104
)
105105
106-
107106
console.log("response", response)
108107
}
109108
</script>

0 commit comments

Comments
 (0)