ywana-core8 0.0.300 → 0.0.301

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": "ywana-core8",
3
- "version": "0.0.300",
3
+ "version": "0.0.301",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -606,18 +606,18 @@ const TableAPI = (url, host) => {
606
606
 
607
607
  queries(url2) {
608
608
  const url3 = url2 ? url2 : url
609
- return http.GET(`${url3}/queries`)
609
+ return http.GET(`${url3}queries`)
610
610
  },
611
611
 
612
612
  createQuery(form, url2) {
613
613
  const url3 = url2 ? url2 : url
614
614
  const body = JSON.stringify(form)
615
- return http.POST(`${url3}/queries`, body)
615
+ return http.POST(`${url3}queries`, body)
616
616
  },
617
617
 
618
618
  removeQuery(id, url2) {
619
619
  const url3 = url2 ? url2 : url
620
- return http.DELETE(`${url3}/queries/${id}`)
620
+ return http.DELETE(`${url3}queries/${id}`)
621
621
  },
622
622
  }
623
623
  }