test, deleted system alert
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { URLS } from "../api/apiConfig";
|
||||
import { TAxios } from "../api/TAxios";
|
||||
import { searchReservation } from "../lunaSend";
|
||||
import { CATEGORY_DATA_MAX_RESULTS_LIMIT } from "../utils/Config";
|
||||
import * as HelperMethods from "../utils/helperMethods";
|
||||
import { types } from "./actionTypes";
|
||||
@@ -8,6 +7,7 @@ import {
|
||||
addReservation,
|
||||
changeAppStatus,
|
||||
deleteReservation,
|
||||
searchReservation,
|
||||
} from "./commonActions";
|
||||
|
||||
export const getMainLiveShow = (props) => (dispatch, getState) => {
|
||||
@@ -106,6 +106,17 @@ export const setMainLiveUpcomingAlarm = (props) => (dispatch, getState) => {
|
||||
searchReservation(chanId, {
|
||||
onSuccess: (res) => {
|
||||
console.log("LUNA SEND searchReservation success", res);
|
||||
|
||||
dispatch(
|
||||
deleteReservation(res, {
|
||||
onSuccess: (r) => {
|
||||
console.log(r);
|
||||
},
|
||||
onFailure: (e) => {
|
||||
console.log(e);
|
||||
},
|
||||
})
|
||||
);
|
||||
},
|
||||
onFailure: (err) => {
|
||||
console.log("LUNA SEND searchReservation failed", err);
|
||||
|
||||
Reference in New Issue
Block a user