Skip to content

Commit

Permalink
display total reservation fail reaason
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueHorn07 committed Dec 26, 2023
1 parent 6efee21 commit 6dfff27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/place/place.reservation.wait.table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const PlaceReservationWaitTable = ({reservations}) => {
alert('선택한 장소 예약을 승인했습니다.')
window.location.reload();
}).catch(err => {
alert('전체 예약 승인에 실패했습니다.')
console.log(err)
const errMsg = err.response.data.message;
alert(`전체 예약 승인에 실패했습니다.\n${errMsg}`);
})
}

Expand Down

0 comments on commit 6dfff27

Please sign in to comment.