test, deleted system alert

This commit is contained in:
younghoon100.park
2024-07-01 15:48:00 +09:00
parent e670f62a69
commit 5bec0b4666
2 changed files with 11 additions and 0 deletions

View File

@@ -402,6 +402,7 @@ export const searchReservation = (chanId) => (dispatch) => {
lunaSend.searchReservation(chanId, {
onSuccess: (res) => {
console.log(res);
dispatch(alertToast(res));
let items = [];
res.result.forEach((item) => {
@@ -433,6 +434,7 @@ export const searchReservation = (chanId) => (dispatch) => {
},
onFailure: (err) => {
console.log(err);
dispatch(alertToast(err));
},
});
};

View File

@@ -102,6 +102,15 @@ export const setMainLiveUpcomingAlarm = (props) => (dispatch, getState) => {
}
//
else if (alamDispFlag === "N") {
// dispatch(deleteReservation(showId, {
// onSuccess: (res) => {
// console.log("LUNA SEND deleteReservation success", res);
// },
// onFailure: (err) => {
// console.log("LUNA SEND deleteReservation failed", err);
// },
// }))
dispatch(
searchReservation(chanId, {
onSuccess: (res) => {