랜드 소유권 변경 예약 처리 및 취소 처리
This commit is contained in:
@@ -130,6 +130,22 @@ export const LandAuctionDelete = async (token, params, id) => {
|
||||
}
|
||||
};
|
||||
|
||||
// 랜드 소유권 변경 예약 삭제
|
||||
export const LandOwnerChangesDelete = async (token, params) => {
|
||||
try {
|
||||
const res = await Axios.delete(`/api/v1/land/change/delete`, {
|
||||
headers: { Authorization: `Bearer ${token}` },
|
||||
data: params,
|
||||
});
|
||||
|
||||
return res.data;
|
||||
} catch (e) {
|
||||
if (e instanceof Error) {
|
||||
throw new Error('LandAuctionDelete Error', e);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const LandView = async (token) => {
|
||||
try {
|
||||
const res = await Axios.get(
|
||||
|
||||
Reference in New Issue
Block a user