mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
fix: timing in the API (#6633)
* fix: timing in the API * test: fix params
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user