🚧 working on submitting form
Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
parent
e3a6ff55b4
commit
6a3f5cf825
4 changed files with 42 additions and 6 deletions
|
@ -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, {
|
||||
|
|
Reference in a new issue