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