@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.native.js
CHANGED
|
@@ -1370,8 +1370,7 @@ async function handleAssessment(assignment, userId, cardIds, weights, fieldsUpda
|
|
|
1370
1370
|
if (!response.data) {
|
|
1371
1371
|
throw new Error("Score not found");
|
|
1372
1372
|
}
|
|
1373
|
-
|
|
1374
|
-
await api.updateDoc(path, { score: scoreCalculated, status: "PENDING_REVIEW" });
|
|
1373
|
+
await api.updateDoc(path, { status: "PENDING_REVIEW" });
|
|
1375
1374
|
await ((_c = (_b = (_a = api).httpsCallable) == null ? void 0 : _b.call(_a, "submitAssessment")) == null ? void 0 : _c({
|
|
1376
1375
|
assignmentId: assignment.id,
|
|
1377
1376
|
assignmentTitle: assignment.name,
|