api 분리
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import axios from 'axios';
|
||||
import { API_URL } from '@/shared/api/urls';
|
||||
import { API_URL_TRANSACTION } from '@/shared/api/api-url-transaction';
|
||||
import { resultify } from '@/shared/lib/resultify';
|
||||
import { CBDCAxiosError } from '@/shared/@types/error';
|
||||
import {
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
|
||||
export const billingCharge = (params: BillingChargeParams) => {
|
||||
return resultify(
|
||||
axios.post<BillingChargeResponse>(API_URL.billingDetail(), params),
|
||||
axios.post<BillingChargeResponse>(API_URL_TRANSACTION.billingDetail(), params),
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user