feat: Download Agent wise report (#1517)

This commit is contained in:
Pranav Raj S
2020-12-15 23:35:03 +05:30
committed by GitHub
parent e6f7f5530b
commit 0619894560
8 changed files with 61 additions and 3 deletions

View File

@@ -17,6 +17,12 @@ class ReportsAPI extends ApiClient {
params: { since, until },
});
}
getAgentReports(since, until) {
return axios.get(`${this.url}/agents`, {
params: { since, until },
});
}
}
export default new ReportsAPI();