fix: timing in the API (#6633)

* fix: timing in the API

* test: fix params
This commit is contained in:
Shivam Mishra
2023-03-09 00:40:38 +05:30
committed by GitHub
parent dd8f8fc845
commit 4673cf8cf1
2 changed files with 6 additions and 6 deletions

View File

@@ -10,8 +10,8 @@ class ReportsAPI extends ApiClient {
getReports({
metric,
since,
until,
from,
to,
type = 'account',
id,
group_by,
@@ -20,8 +20,8 @@ class ReportsAPI extends ApiClient {
return axios.get(`${this.url}`, {
params: {
metric,
since,
until,
since: from,
until: to,
type,
id,
group_by,