Bug: Use v2 reports instead of v1 reports (#843)

This commit is contained in:
Pranav Raj S
2020-05-11 11:40:14 +05:30
committed by GitHub
parent 0d7c1e5e11
commit 70341df9b8
3 changed files with 19 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ import ApiClient from './ApiClient';
class ReportsAPI extends ApiClient {
constructor() {
super('reports', { accountScoped: true });
super('reports', { accountScoped: true, apiVersion: 'v2' });
}
getAccountReports(metric, since, until) {