summaryrefslogtreecommitdiff
path: root/src/lib/pengajuan-tempo/api/editAuthTempo.js
blob: 5fa3786bb685e6578535dccb9f58bf3184126727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;