@itutoring/itutoring_application_js_api 1.5.8 → 1.5.10

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.
@@ -16,7 +16,7 @@ class Reviews
16
16
  {
17
17
  const review = await APIController.Get(this.#MODULE, this.#GET_RANDOM_REVIEW, {});
18
18
 
19
- return JSON.parse(review);
19
+ return review;
20
20
  }
21
21
 
22
22
  /**
@@ -27,7 +27,7 @@ class Reviews
27
27
  {
28
28
  const reviews = await APIController.Get(this.#MODULE, this.#GET_REVIEWS, {});
29
29
 
30
- return JSON.parse(reviews);
30
+ return reviews;
31
31
  }
32
32
 
33
33
  /**
@@ -38,7 +38,7 @@ class Reviews
38
38
  {
39
39
  const rating = await APIController.Get(this.#MODULE, this.#GET_RATING, {});
40
40
 
41
- return JSON.parse(rating);
41
+ return rating;
42
42
  }
43
43
  }
44
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.5.8",
3
+ "version": "1.5.10",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",