@quesmed/types 2.5.103 → 2.5.104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3055,7 +3055,7 @@ const optimisticSaveMarksheets = (marksheet, marksheetInput, questionIndex) => {
3055
3055
  timeTaken,
3056
3056
  questionChoiceId: choiceId ?? null,
3057
3057
  isAnswered: true,
3058
- mark: mark || null,
3058
+ mark: mark || choiceId ? JSON.stringify([choiceId]) : null,
3059
3059
  };
3060
3060
  const updatedMarks = [
3061
3061
  ...marks.slice(0, questionIndex),
@@ -3051,7 +3051,7 @@ export const optimisticSaveMarksheets = (marksheet, marksheetInput, questionInde
3051
3051
  timeTaken,
3052
3052
  questionChoiceId: choiceId ?? null,
3053
3053
  isAnswered: true,
3054
- mark: mark || null,
3054
+ mark: mark || choiceId ? JSON.stringify([choiceId]) : null,
3055
3055
  };
3056
3056
  const updatedMarks = [
3057
3057
  ...marks.slice(0, questionIndex),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.5.103",
3
+ "version": "2.5.104",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",