🚧 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:
parent
7ffea02700
commit
9f113c1258
5 changed files with 107 additions and 4 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Reference in a new issue