summaryrefslogtreecommitdiff
path: root/src/lib/home/api
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-23 09:42:57 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-23 09:42:57 +0700
commitaed8055fbef665984574bc98bb6223c1c54a821a (patch)
treefe795d141fb8d7e9404949e77c367f5a8a405937 /src/lib/home/api
parentd628ae7e520f01186e7ede2e06118d869ee7282f (diff)
<iman> marged develompent & category management
Diffstat (limited to 'src/lib/home/api')
-rw-r--r--src/lib/home/api/categoryManagementApi.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/home/api/categoryManagementApi.js b/src/lib/home/api/categoryManagementApi.js
new file mode 100644
index 00000000..b70d60ce
--- /dev/null
+++ b/src/lib/home/api/categoryManagementApi.js
@@ -0,0 +1,8 @@
+import odooApi from '@/core/api/odooApi'
+
+const categoryManagementApi = async () => {
+ const dataCategoryManagement = await odooApi('GET', '/api/v1/categories_management')
+ return dataCategoryManagement
+}
+
+export default categoryManagementApi