@innertia-solutions/innertia-nuxt 0.1.64 → 0.1.65
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/composables/useEntity.js
CHANGED
|
@@ -37,7 +37,7 @@ export function useEntity() {
|
|
|
37
37
|
|
|
38
38
|
const list = (params = {}) => useQuery({
|
|
39
39
|
queryKey: computed(() => ['entities', toValue(params)]),
|
|
40
|
-
queryFn: () => api.
|
|
40
|
+
queryFn: () => api.get('entities', { params: toValue(params) }),
|
|
41
41
|
})
|
|
42
42
|
|
|
43
43
|
const detail = (id) => useQuery({
|
package/composables/useRoles.js
CHANGED
|
@@ -6,7 +6,7 @@ export function useRoles() {
|
|
|
6
6
|
|
|
7
7
|
const list = (params = {}) => useQuery({
|
|
8
8
|
queryKey: computed(() => ['roles', toValue(params)]),
|
|
9
|
-
queryFn: () => api.
|
|
9
|
+
queryFn: () => api.get('roles', { params: toValue(params) }),
|
|
10
10
|
})
|
|
11
11
|
|
|
12
12
|
const detail = (id) => useQuery({
|
package/composables/useUsers.js
CHANGED
|
@@ -6,7 +6,7 @@ export function useUsers() {
|
|
|
6
6
|
|
|
7
7
|
const list = (params = {}) => useQuery({
|
|
8
8
|
queryKey: computed(() => ['users', toValue(params)]),
|
|
9
|
-
queryFn: () => api.
|
|
9
|
+
queryFn: () => api.get('users', { params: toValue(params) }),
|
|
10
10
|
})
|
|
11
11
|
|
|
12
12
|
const detail = (id) => useQuery({
|