log 관련
This commit is contained in:
@@ -10,10 +10,20 @@ import {
|
||||
useMutation,
|
||||
UseMutationOptions
|
||||
} from '@tanstack/react-query';
|
||||
import { getHeaderUserAgent } from '@/shared/constants/url';
|
||||
|
||||
export const escrowList = (params: EscrowListParams) => {
|
||||
let headerOptions = {
|
||||
menuId: 33,
|
||||
apiType: 'SELECT'
|
||||
};
|
||||
let options = {
|
||||
headers: {
|
||||
'X-User-Agent': getHeaderUserAgent(headerOptions)
|
||||
}
|
||||
};
|
||||
return resultify(
|
||||
axios.post<EscrowListResponse>(API_URL_TRANSACTION.escrowList(), params),
|
||||
axios.post<EscrowListResponse>(API_URL_TRANSACTION.escrowList(), params, options),
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user