Skip to content

Commit

Permalink
Merge pull request #163 from innovationacademy-kr/NewAPIApply_162
Browse files Browse the repository at this point in the history
FIX: Apply new Return API #162
  • Loading branch information
Oris482 authored Dec 10, 2022
2 parents b3ee321 + 35fed07 commit e48419b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/Modals/ReturnModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ const ReturnModal = (props: any) => {
const ReturnAPI = async () => {
try {
const cabinetIdx = data !== undefined ? data.cabinet_id : "";
const urlReturn = "/api/return?cabinetIdx=" + cabinetIdx;
const urlReturn = "/api/v3/return/cabinet/" + cabinetIdx;
const token = localStorage.getItem("accessToken");
let params: SearchQueryBody;
await API.axiosFormat(
{
method: "PATCH",
method: "DELETE",
url: API.url(urlReturn),
},
token
Expand Down

0 comments on commit e48419b

Please sign in to comment.