use zapier

This commit is contained in:
Matthew Stanciu 2020-04-23 21:16:28 -04:00
parent ce6f7e9040
commit ea5b307448

View file

@ -39,11 +39,11 @@ const JoinForm = () => {
}}
>
<form
action={`https://hackclub-slacker.glitch.me/join`}
action={`https://hooks.zapier.com/hooks/catch/507705/o5lw2on/`}
method={`post`}
onSubmit={(e) => {
e.preventDefault()
fetch(`https://hackclub-slacker.glitch.me/join`, {
fetch(`https://hooks.zapier.com/hooks/catch/507705/o5lw2on/`, {
method: 'POST',
body: JSON.stringify({ name, email, hs, reason })
})