permissions.js 142 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 export function actionToObject(json) { try { return JSON.parse(json) } catch (e) { console.log('err', e.message) } return [] }