summaryrefslogtreecommitdiff
path: root/src/lib/address/api/cityApi.js
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-10-24 11:01:08 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-10-24 11:01:08 +0700
commit9abd621285d739a9c502d661013db5ce96edec33 (patch)
tree98ff4ae0bf8adcced77699de33aebe50616233dc /src/lib/address/api/cityApi.js
parentca30c28dd0b19977eb771fc32ff5e520cdef1068 (diff)
parente0aa9e04a473a4f7a21b389b42314d3fed06b43e (diff)
Merge branch 'new-release' into CR/new_product_detail
Diffstat (limited to 'src/lib/address/api/cityApi.js')
-rw-r--r--src/lib/address/api/cityApi.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/address/api/cityApi.js b/src/lib/address/api/cityApi.js
index 7873435b..0b0201e6 100644
--- a/src/lib/address/api/cityApi.js
+++ b/src/lib/address/api/cityApi.js
@@ -1,7 +1,7 @@
import odooApi from '@/core/api/odooApi'
-const cityApi = async () => {
- const dataCities = await odooApi('GET', '/api/v1/city')
+const cityApi = async ({stateId}) => {
+ const dataCities = await odooApi('GET', '/api/v1/city?state_id='+stateId)
return dataCities
}