feat: Add Reports for teams (#3116)

Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Fayaz Ahmed 2021-10-06 23:53:51 +05:30 committed by GitHub
parent 3e99088fe3
commit 1c6a539c0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 240 additions and 59 deletions

View file

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