diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-01-14 09:53:43 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-01-14 09:53:43 +0000 |
| commit | 3e037c57566d7fb0acad2cb71fedd075cb9ce462 (patch) | |
| tree | 1ec2ebdf700d3c9501a665a8f1e5351ddc80e5ef /src/lib/pengajuan-tempo/api/editAuthTempo.js | |
| parent | a868498e7327593b40d1e02fd96531fefd9548d5 (diff) | |
| parent | 76afb8aaa5d2aaaf68529e11e9ed4d003d953f76 (diff) | |
Merged in Feature/pengajuan-tempo (pull request #401)
Feature/pengajuan tempo
Approved-by: trisusilo
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; |
