Liferay.Loader.define("layout-reports-web@1.0.56/js/utils/loadIssues",["module","exports","require","../constants/actionTypes","./APIService"],(function(e,r,t){window;Object.defineProperty(r,"__esModule",{value:!0}),r.default=function loadIssues({dispatch:e,languageId:r,refreshCache:t=!0,url:u}){u?(e({type:s.LOAD_DATA}),o.default.getLayoutReportsIssues(u.layoutReportsIssuesURL,t).then((({layoutReportsIssues:t})=>{e({languageId:r,layoutReportsIssues:t,type:s.SET_ISSUES})})).catch(((r={})=>{e({error:r.googlePageSpeedError.error||r,type:s.SET_ERROR})}))):e({error:Liferay.Language.get("an-unexpected-error-occurred"),type:s.SET_ERROR})};var s=t("../constants/actionTypes"),o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(t("./APIService"))}));
//# sourceMappingURL=loadIssues.js.map