feat: fix analytics

This commit is contained in:
Nevo David 2026-04-22 13:09:39 +07:00
parent fa5d7f4c40
commit e51cae1614

View file

@ -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 (