diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-12-11 11:51:45 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-12-11 11:51:45 +0700 |
| commit | 0f84963214ee6dc5b5a44d945540826a66bec9e0 (patch) | |
| tree | 4011423ed5147059f40afa873f87e167202f5f79 /src/lib/address/api | |
| parent | cecccfaf318e0e7c52132cf1d04c90c0df745d14 (diff) | |
<iman> update pengajuan tempo
Diffstat (limited to 'src/lib/address/api')
| -rw-r--r-- | src/lib/address/api/stateApi.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/address/api/stateApi.js b/src/lib/address/api/stateApi.js index cea49e7e..6bfd36d2 100644 --- a/src/lib/address/api/stateApi.js +++ b/src/lib/address/api/stateApi.js @@ -1,8 +1,8 @@ -import odooApi from '@/core/api/odooApi' +import odooApi from '@/core/api/odooApi'; -const stateApi = async () => { - const dataState = await odooApi('GET', '/api/v1/state') - return dataState -} +const stateApi = async ({ tempo = false }) => { + const dataState = await odooApi('GET', `/api/v1/state?tempo=${tempo}`); + return dataState; +}; -export default stateApi
\ No newline at end of file +export default stateApi; |
