🚧 working on endpoint for useranswer submit

Co-authored-by: haraldnilsen <harald_998@hotmail.com>
Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
Sindre Kjelsrud 2024-01-07 20:48:38 +01:00
parent 7ffea02700
commit 9f113c1258
Signed by: sidski
GPG key ID: D2BBDF3EDE6BA9A6
5 changed files with 107 additions and 4 deletions

View file

@ -28,7 +28,7 @@ export const postUserformData = (
})
.then((data) => {
console.log(data);
localStorage.setItem("RespondentId", data);
localStorage.setItem("RespondentId", data.respondentID);
return data;
})
.catch((error) => {