Skip to content

Commit

Permalink
fix: 回答可能期間を過ぎているフォームに回答した場合のエラーコードを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Jun 23, 2024
1 parent b89eaa1 commit 09cd677
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const AnswerForm = ({ questions: questions, formId }: Props) => {
setSelectedValues({});
} else if (
safeParsedErrorResponse.success &&
safeParsedErrorResponse.data.errorCode == 'FORM_ANSWER_OUT_OF_PERIOD'
safeParsedErrorResponse.data.errorCode == 'OUT_OF_PERIOD'
) {
alert('回答期間が終了しています');
}
Expand Down

0 comments on commit 09cd677

Please sign in to comment.