added in initial user flow screens

This commit is contained in:
2021-07-26 16:57:28 +01:00
parent 8bc839c63e
commit ead2987c65
23 changed files with 2279 additions and 110 deletions
+15
View File
@@ -202,6 +202,21 @@ export const getLPA = () => {
});
};
export const getPersonalAccount = () => {
console.log("api_root: ", BASE_URL);
return axios
.get(
BASE_URL + "/api/lookups/personaldetails",
//.get("https://devcrm2016.llcdt.gov.wales/DVPINS/api/data/v8.2/contacts?$select=name",
{ httpsAgent: new https.Agent({ rejectUnauthorized: false }) }
)
.then((res) => res.data)
.catch((error) => {
console.log("thi serror", error);
});
};
function makeid(length) {
var result = "";
var characters =