feat: Agent & Inbox Report APIs (#1391)

This commit is contained in:
Sojan Jose
2020-11-16 19:41:52 +05:30
committed by GitHub
parent faaed17418
commit eb2ded6f65
11 changed files with 102 additions and 12 deletions

View File

@@ -60,7 +60,7 @@ const actions = {
});
},
fetchAccountSummary({ commit }, reportObj) {
Report.getAccountSummary(1, reportObj.from, reportObj.to)
Report.getAccountSummary(reportObj.from, reportObj.to)
.then(accountSummary => {
commit(types.default.SET_ACCOUNT_SUMMARY, accountSummary.data);
})