Skip to content

Commit

Permalink
Merge pull request layer5io#4976 from layer5io/webhook-sep
Browse files Browse the repository at this point in the history
  • Loading branch information
Chadha93 authored Sep 27, 2023
2 parents 3e432c1 + 734bd9f commit 633401b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/CommonForm/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const EventForm = ({ form, title, submit_title, submit_body }) => {

useEffect(() => {
if (submit) {
axios.post("https://hook.us1.make.com/x4crqi16j8wfhctosk8y47fj6gknyvvh", {
axios.post("https://hook.us1.make.com/s4jo47a8ydq6uk7gg16wuukgr4l52p8c", {
memberFormOne,
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/CommonForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const CommonForm = ({ form, title, submit_title, submit_body }) => {
};
useEffect(() => {
if (submit) {
axios.post("https://hook.us1.make.com/x4crqi16j8wfhctosk8y47fj6gknyvvh", {
axios.post("https://hook.us1.make.com/s4jo47a8ydq6uk7gg16wuukgr4l52p8c", {
memberFormOne,
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/ContactForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const ContactForm = () => {
useEffect(() => {
if (submit) {
// Webhook to handle all event forms and all signup forms, except for the community member form.
axios.post("https://hook.us1.make.com/x4crqi16j8wfhctosk8y47fj6gknyvvh", {
axios.post("https://hook.us1.make.com/s4jo47a8ydq6uk7gg16wuukgr4l52p8c", {
memberFormOne,
});
window.scrollTo(0, 700);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const ContentForm = () => {

useEffect(() => {
if (submit) {
axios.post("https://hook.us1.make.com/x4crqi16j8wfhctosk8y47fj6gknyvvh", {
axios.post("https://hook.us1.make.com/s4jo47a8ydq6uk7gg16wuukgr4l52p8c", {
memberFormOne,
});
}
Expand Down

0 comments on commit 633401b

Please sign in to comment.