diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-01-15 16:29:48 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-01-15 16:29:48 +0700 |
| commit | 98236a47c3558c4b701009a275c7ae917ee8bf67 (patch) | |
| tree | 21e0300680a724c8a24ed815ea4e9a32ab13a895 /src/lib/address/api/stateApi.js | |
| parent | 1fa1a7873aa67cdd9ca211c239276a148cd4cdda (diff) | |
| parent | 7a14ed5ccdde86d0400d6aa02ac866317d4add63 (diff) | |
Merge branch 'new-release' into Feature/switch-account
# Conflicts:
# src/lib/auth/components/CompanyProfile.jsx
# src/lib/auth/components/Menu.jsx
Diffstat (limited to 'src/lib/address/api/stateApi.js')
| -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; |
