added picklist mocks and form mocks

This commit is contained in:
robert
2021-07-07 17:00:53 +01:00
parent c1e69c945f
commit 020796916e
17 changed files with 1568 additions and 3 deletions
+10 -3
View File
@@ -43,9 +43,16 @@ export const getBasicSearch = (searchString) => {
export const getFormData = (whichForm) => {
console.log("got to axios", whichForm);
return axios
.get("http://localhost:3000/api/pinswg_planningappeals78_appealform", {
httpsAgent: new https.Agent({ rejectUnauthorized: false }),
return axios
.get("http://localhost:3000/api/appealforms/pinswg_dns", {
//.get("http://localhost:3000/api/appealforms/pinswg_planningobligationappeals106", {
//.get("http://localhost:3000/api/appealforms/pinswg_planningconditionss73s79", {
//.get("http://localhost:3000/api/appealforms/pinswg_row", {
//.get("http://localhost:3000/api/appealforms/pinswg_transportandworkact", {
//.get("http://localhost:3000/api/appealforms/pinswg_harbourrevisionorder", {
//.get("http://localhost:3000/api/appealforms/pinswg_planningappeals78", {
//.get("http://localhost:3000/api/appealforms/pinswg_householderappealhas", {
httpsAgent: new https.Agent({ rejectUnauthorized: false }),
})
.then((res) => res.data)
.catch((error) => {