From 144b090174b8b77027f89294a7cc4588f80ad117 Mon Sep 17 00:00:00 2001 From: Simon Arnell Date: Tue, 15 Jan 2019 19:13:46 +0000 Subject: [PATCH] updated to staticman v3 endpoint per @eduardoboucas' instruction in Staticman issue [243](https://github.com/eduardoboucas/staticman/issues/243#issuecomment-453876235) --- resources/js/survey.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/js/survey.js b/resources/js/survey.js index 38a9345..4edbbb6 100644 --- a/resources/js/survey.js +++ b/resources/js/survey.js @@ -24,8 +24,8 @@ function sendDataToServer(survey) { } }) var data = new URLSearchParams(formdata); - fetch("https://dev.staticman.net/v2/entry/simonarnell/GDPRDPIAT/staticman/", { + fetch("https://dev.staticman.net/v3/entry/simonarnell/GDPRDPIAT/staticman/", { method: "POST", body: data }) -} \ No newline at end of file +}