@programisto/edrm-exams 0.3.3 → 0.3.4

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.
@@ -95,7 +95,7 @@ async function correctTest(options) {
95
95
  await TestResult.findByIdAndUpdate(result._id, {
96
96
  $set: {
97
97
  responses: result.responses,
98
- score: scorePercentage,
98
+ score: finalscore,
99
99
  state: result.state
100
100
  }
101
101
  });
@@ -111,7 +111,7 @@ async function correctTest(options) {
111
111
  data: {
112
112
  firstname: contact.firstname,
113
113
  lastname: contact.lastname,
114
- score: result.score,
114
+ score: scorePercentage,
115
115
  testName: test?.title || '',
116
116
  testLink
117
117
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@programisto/edrm-exams",
4
- "version": "0.3.3",
4
+ "version": "0.3.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },