test, deleted system alert
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import appinfo from "../../webos-meta/appinfo.json";
|
||||
import { alertToast } from "../actions/commonActions";
|
||||
import LS2Request from "./LS2Request";
|
||||
|
||||
export const getConnectionStatus = ({ onSuccess, onFailure, onComplete }) => {
|
||||
@@ -271,7 +272,10 @@ export const deleteReservation = (scheduleIdList) => {
|
||||
});
|
||||
};
|
||||
|
||||
export const searchReservation = (chanId) => {
|
||||
export const searchReservation = (
|
||||
chanId,
|
||||
{ onSuccess, onFailure, onComplete }
|
||||
) => {
|
||||
if (typeof window === "object" && !window.PalmSystem) {
|
||||
console.log("LUNA SEND searchReservation chanId", chanId);
|
||||
return;
|
||||
@@ -287,11 +291,8 @@ export const searchReservation = (chanId) => {
|
||||
filter: [{ prop: "reserveType", op: "=", val: 6 }], // 6 LG Shopping 전용.
|
||||
},
|
||||
},
|
||||
onSuccess: (res) => {
|
||||
console.log("LUNA SEND searchReservation success", res);
|
||||
},
|
||||
onFailure: (err) => {
|
||||
console.log("LUNA SEND searchReservation failed", err);
|
||||
},
|
||||
onSuccess,
|
||||
onFailure,
|
||||
onComplete,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user