diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-01-22 10:10:19 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-01-22 10:10:19 +0700 |
| commit | 5cc3c938da3dfde636b918b8f2fdef33f3c61419 (patch) | |
| tree | 222177fe6dce70fc608698c700de17032105998a /src/lib/pengajuan-tempo/api/editAuthTempo.js | |
| parent | 238c675eecaf6f4f953d87c4b0a128bfa139cff4 (diff) | |
| parent | 6d9c1067b6e857eb95f12864cc88117350ae6cfb (diff) | |
Merge branch 'new-release' into CR/form-merchant
# Conflicts:
# src/lib/form/components/Merchant.jsx
Diffstat (limited to 'src/lib/pengajuan-tempo/api/editAuthTempo.js')
| -rw-r--r-- | src/lib/pengajuan-tempo/api/editAuthTempo.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/pengajuan-tempo/api/editAuthTempo.js b/src/lib/pengajuan-tempo/api/editAuthTempo.js new file mode 100644 index 00000000..5fa3786b --- /dev/null +++ b/src/lib/pengajuan-tempo/api/editAuthTempo.js @@ -0,0 +1,13 @@ +import odooApi from '@/core/api/odooApi'; +import { getAuth } from '@/core/utils/auth'; + +const editAuthTempo = async () => { + const auth = getAuth(); + const dataProfile = await odooApi( + 'PUT', + `/api/v1/user/${auth.id}/after_request_tempo` + ); + return dataProfile; +}; + +export default editAuthTempo; |
