test, deleted system alert
This commit is contained in:
@@ -417,19 +417,19 @@ export const searchReservation = (chanId) => (dispatch) => {
|
||||
if (index !== -1) {
|
||||
deletedIdList.push(items[index]._id);
|
||||
|
||||
// dispatch(
|
||||
// deleteReservation(deletedIdList, {
|
||||
// onSuccess: (r) => {
|
||||
// console.log(r);
|
||||
// },
|
||||
// onFailure: (e) => {
|
||||
// console.log(e);
|
||||
// },
|
||||
// })
|
||||
// );
|
||||
dispatch(
|
||||
deleteReservation(deletedIdList, {
|
||||
onSuccess: (r) => {
|
||||
console.log(r);
|
||||
},
|
||||
onFailure: (e) => {
|
||||
console.log(e);
|
||||
},
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
return deletedIdList;
|
||||
// return deletedIdList;
|
||||
},
|
||||
onFailure: (err) => {
|
||||
console.log(err);
|
||||
|
||||
@@ -85,7 +85,7 @@ export const setMainLiveUpcomingAlarm = (props) => (dispatch, getState) => {
|
||||
contentTarget: `V3_8002_Tv_FB_${patnrId}`,
|
||||
},
|
||||
showId: showId,
|
||||
chinId: chanId,
|
||||
chanId: chanId,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -107,16 +107,16 @@ export const setMainLiveUpcomingAlarm = (props) => (dispatch, getState) => {
|
||||
onSuccess: (res) => {
|
||||
console.log("LUNA SEND searchReservation success", res);
|
||||
|
||||
dispatch(
|
||||
deleteReservation(res, {
|
||||
onSuccess: (r) => {
|
||||
console.log(r);
|
||||
},
|
||||
onFailure: (e) => {
|
||||
console.log(e);
|
||||
},
|
||||
})
|
||||
);
|
||||
// dispatch(
|
||||
// deleteReservation(res, {
|
||||
// onSuccess: (r) => {
|
||||
// console.log(r);
|
||||
// },
|
||||
// onFailure: (e) => {
|
||||
// console.log(e);
|
||||
// },
|
||||
// })
|
||||
// );
|
||||
},
|
||||
onFailure: (err) => {
|
||||
console.log("LUNA SEND searchReservation failed", err);
|
||||
|
||||
@@ -238,7 +238,7 @@ export const addReservation = (data) => {
|
||||
},
|
||||
information: {
|
||||
showId: data.params.showId,
|
||||
chinId: data.params.chanId,
|
||||
chanId: data.params.chanId,
|
||||
},
|
||||
},
|
||||
onSuccess: (res) => {
|
||||
|
||||
Reference in New Issue
Block a user