/* eslint-disable handle-callback-err */ import { PostData, GetURL } from '../../helpers' import url from '../../url' export const getListCusomterProcess = async (body) => PostData(url.urlGetCustomerCare, body) .then((res) => res) .catch((err) => null) export const createCustomerProcess = async (body) => PostData(url.urlCreateCustomerCare, body) .then((res) => res) .catch((err) => null) export const detailCustomerProcess = async (id, body) => GetURL(`${url.urlDetailCustomerCare}/${id}`, body) .then((res) => res) .catch((err) => null)