test, deleted system alert

This commit is contained in:
younghoon100.park
2024-07-01 17:16:52 +09:00
parent 41777e2457
commit 3d04033daf
4 changed files with 38 additions and 59 deletions

View File

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