🚧 working on submitting form

Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
haraldnilsen 2024-01-07 13:59:07 +01:00
parent e3a6ff55b4
commit 6a3f5cf825
4 changed files with 42 additions and 6 deletions

View file

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