completed routing for questions

This commit is contained in:
haraldnilsen 2024-01-04 19:40:37 +01:00
parent 7e00f24fbd
commit b22140ba3f
11 changed files with 115 additions and 47 deletions

View file

@ -7,7 +7,7 @@ export const postUserformData = (
education: string,
healthcare_personnel: string,
gender: string
): postUserformDataReponse => {
): Promise<postUserformDataReponse> => {
let url = "http://localhost:8080/submitform";
let personnel = healthcare_personnel == "Ja" ? true : false;