@speakableio/core 1.0.40 → 1.0.41

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.
package/dist/index.web.js CHANGED
@@ -1258,8 +1258,7 @@ async function handleAssessment(assignment, userId, cardIds, weights, fieldsUpda
1258
1258
  if (!response.data) {
1259
1259
  throw new Error("Score not found");
1260
1260
  }
1261
- const { score: scoreCalculated } = calculateScoreAndProgress_default(response.data, cardIds, weights);
1262
- await api.updateDoc(path, { score: scoreCalculated, status: "PENDING_REVIEW" });
1261
+ await api.updateDoc(path, { status: "PENDING_REVIEW" });
1263
1262
  await ((_c = (_b = (_a = api).httpsCallable) == null ? void 0 : _b.call(_a, "submitAssessment")) == null ? void 0 : _c({
1264
1263
  assignmentId: assignment.id,
1265
1264
  assignmentTitle: assignment.name,