feat: fix analytics
This commit is contained in:
parent
fa5d7f4c40
commit
e51cae1614
1 changed files with 1 additions and 1 deletions
|
|
@ -804,7 +804,7 @@ export class InstagramProvider
|
|||
date: number,
|
||||
type = 'graph.facebook.com'
|
||||
): Promise<AnalyticsData[]> {
|
||||
const until = dayjs().endOf('day').unix();
|
||||
const until = dayjs().startOf('day').unix();
|
||||
const since = dayjs().subtract(date, 'day').unix();
|
||||
|
||||
const { data, ...all } = await (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue