orderiom-api-package 0.4.43 → 0.4.44

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orderiom-api-package",
3
- "version": "0.4.43",
3
+ "version": "0.4.44",
4
4
  "description": "This package will install all necessary API calls for every orderiom restaurant",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -920,8 +920,8 @@ const actions = {
920
920
  commit('setSubmittingReview', false);
921
921
  });
922
922
  },
923
- getTestimonials({commit}, id) {
924
- const idToShow = id ? '/show?testimonialId' + id : ''
923
+ getReviews({commit}, id) {
924
+ const idToShow = id ? '/show?testimonialId=' + id : ''
925
925
  return $http.get(`api/testimonials${idToShow}`)
926
926
  .then(res => res)
927
927
  .catch(commonErrorCallback())