[commonActions] 불필요한 startupRecent 로직 삭제
This commit is contained in:
@@ -143,33 +143,6 @@ export const logoutAccount = () => (dispatch, getState) => {
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
let _recentKind = ":4";
|
||||
let _recentKeyId = "myrecent";
|
||||
|
||||
export const startupRecent = () => (dispatch, getState) => {
|
||||
const state = getState().db8;
|
||||
const parameters = {
|
||||
id: state.domain + _recentKind,
|
||||
owner: state.domain,
|
||||
indexes: [
|
||||
{
|
||||
name: "keyId",
|
||||
props: [{ name: "keyId" }],
|
||||
},
|
||||
],
|
||||
};
|
||||
lunaSend.startupRecent(parameters, {
|
||||
onSuccess: (res) => {
|
||||
alertToast("startupRecent onSuccess: ", res);
|
||||
},
|
||||
|
||||
onFailure: (err) => {
|
||||
alertToast("startupRecent onFailure: ", err);
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
export const getDeviceId = (onComplete) => (dispatch, getState) => {
|
||||
lunaSend.getDeviceId(
|
||||
{ idType: ["LGUDID"] },
|
||||
|
||||
Reference in New Issue
Block a user