@quesmed/types 2.6.69 → 2.6.70

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.
@@ -400,10 +400,10 @@ const updateQuestionLearningPoint = (typeId) => (cache, result, options) => {
400
400
  return;
401
401
  }
402
402
  try {
403
- for (const { id, userPoint } of addQuestionLearningPoint) {
403
+ for (const { questionId, userPoint } of addQuestionLearningPoint) {
404
404
  cache.writeFragment({
405
405
  id: cache.identify({
406
- id,
406
+ id: questionId,
407
407
  __typename: (0, exports.getQuestionTypeName)(typeId),
408
408
  }),
409
409
  data: {
@@ -388,10 +388,10 @@ export const updateQuestionLearningPoint = (typeId) => (cache, result, options)
388
388
  return;
389
389
  }
390
390
  try {
391
- for (const { id, userPoint } of addQuestionLearningPoint) {
391
+ for (const { questionId, userPoint } of addQuestionLearningPoint) {
392
392
  cache.writeFragment({
393
393
  id: cache.identify({
394
- id,
394
+ id: questionId,
395
395
  __typename: getQuestionTypeName(typeId),
396
396
  }),
397
397
  data: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.69",
3
+ "version": "2.6.70",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",