@innertia-solutions/nuxt-theme-spark 0.1.84 → 0.1.85

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.
@@ -154,7 +154,7 @@ const fetchData = async () => {
154
154
  isDataFromCache.value = false
155
155
 
156
156
  try {
157
- const res = await api.post(props.endpoint, buildRequestParams())
157
+ const res = await api.get(props.endpoint, { params: buildRequestParams() })
158
158
  if (!res) return
159
159
 
160
160
  tableData.value = Array.isArray(res.data) ? res.data : (Array.isArray(res) ? res : [])
@@ -392,7 +392,7 @@ const exportTable = async (format, exportAllPages, exportFilteredRows, selectedI
392
392
 
393
393
  try {
394
394
  const { blob, headers } = await download(props.endpoint, params, {
395
- method: 'POST',
395
+ method: 'GET',
396
396
  onProgress: (p) => toast.update(id, { progress: p, progressLabel: `Descargando... ${p}%` }),
397
397
  })
398
398
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@innertia-solutions/nuxt-theme-spark",
3
- "version": "0.1.84",
3
+ "version": "0.1.85",
4
4
  "description": "Innertia Solutions — Spark theme: backoffice, landing and mobile components and layouts",
5
5
  "keywords": [
6
6
  "nuxt",