Commit 53f4f31e authored by Yoon, Daeki's avatar Yoon, Daeki 😅
Browse files

guestId 정정

parent 4f3d7a8c
......@@ -57,7 +57,7 @@ export const AnswerSurvey = () => {
otherAnswers.map((answer) => ({
questionId: answer.question._id!,
surveyId: survey._id!,
questId: "guest",
guestId: "guest",
content: answer.content,
}))
);
......@@ -68,11 +68,6 @@ export const AnswerSurvey = () => {
);
console.log("result:", result);
// const newAnswer: IAnswer = await answerApi.saveAnswers(formData);
// console.log(newAnswer);
// sessionStorage.setItem(`survey_${surveyId}`, surveyId ?? "");
// navigate("/survey/complete", { replace: false });
} catch (error) {
catchErrors(error, setError);
} finally {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment