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

@@ -22,8 +22,8 @@ describe('#Reports API', () => {
it('#getAccountReports', () => {
reportsAPI.getReports({
metric: 'conversations_count',
since: 1621103400,
until: 1621621800,
from: 1621103400,
to: 1621621800,
});
expect(context.axiosMock.get).toHaveBeenCalledWith('/api/v2/reports', {
params: {