Update calculateDailyStats.ts

This commit is contained in:
vincanger 2023-12-07 13:21:40 +01:00
parent 7369dba352
commit 9e06a34abb

View File

@ -1,7 +1,7 @@
import type { DailyStatsJob } from '@wasp/jobs/dailyStatsJob';
import Stripe from 'stripe';
// import { getDailyPageViews, getSources } from './plausibleAnalyticsUtils.js';
import { getDailyPageViews, getSources } from './googleAnalyticsUtils.js';
import type { DailyStatsJob } from '@wasp/jobs/dailyStatsJob';
import { getDailyPageViews, getSources } from './plausibleAnalyticsUtils.js';
// import { getDailyPageViews, getSources } from './googleAnalyticsUtils.js';
const stripe = new Stripe(process.env.STRIPE_KEY!, {
apiVersion: '2022-11-15', // TODO find out where this is in the Stripe dashboard and document