test, deleted system alert

This commit is contained in:
younghoon100.park
2024-07-01 13:55:44 +09:00
parent 388c166e09
commit 3d903fc860
2 changed files with 24 additions and 11 deletions

View File

@@ -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);