diff --git a/com.twin.app.shoptime/src/actions/commonActions.js b/com.twin.app.shoptime/src/actions/commonActions.js index 751353aa..3fd614fc 100644 --- a/com.twin.app.shoptime/src/actions/commonActions.js +++ b/com.twin.app.shoptime/src/actions/commonActions.js @@ -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); diff --git a/com.twin.app.shoptime/src/actions/mainActions.js b/com.twin.app.shoptime/src/actions/mainActions.js index f3970358..41d6b197 100644 --- a/com.twin.app.shoptime/src/actions/mainActions.js +++ b/com.twin.app.shoptime/src/actions/mainActions.js @@ -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); diff --git a/com.twin.app.shoptime/src/lunaSend/common.js b/com.twin.app.shoptime/src/lunaSend/common.js index 434de084..852ae13c 100644 --- a/com.twin.app.shoptime/src/lunaSend/common.js +++ b/com.twin.app.shoptime/src/lunaSend/common.js @@ -238,7 +238,7 @@ export const addReservation = (data) => { }, information: { showId: data.params.showId, - chinId: data.params.chanId, + chanId: data.params.chanId, }, }, onSuccess: (res) => {