Update diff files

This commit is contained in:
Filip Sodić
2025-02-24 15:32:18 +01:00
parent 490f32b43a
commit b38c156ef2
3 changed files with 9 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
--- template/app/src/admin/dashboards/users/UsersTable.tsx --- template/app/src/admin/dashboards/users/UsersTable.tsx
+++ opensaas-sh/app/src/admin/dashboards/users/UsersTable.tsx +++ opensaas-sh/app/src/admin/dashboards/users/UsersTable.tsx
@@ -202,7 +202,7 @@ @@ -207,7 +207,7 @@
<p className='text-sm text-black dark:text-white'>{user.subscriptionStatus}</p> <p className='text-sm text-black dark:text-white'>{user.subscriptionStatus}</p>
</div> </div>
<div className='col-span-2 flex items-center'> <div className='col-span-2 flex items-center'>

View File

@@ -1,18 +1,14 @@
--- template/app/src/analytics/stats.ts --- template/app/src/analytics/stats.ts
+++ opensaas-sh/app/src/analytics/stats.ts +++ opensaas-sh/app/src/analytics/stats.ts
@@ -2,10 +2,8 @@ @@ -2,7 +2,6 @@
import { type DailyStatsJob } from 'wasp/server/jobs'; import { type DailyStatsJob } from 'wasp/server/jobs';
import Stripe from 'stripe'; import Stripe from 'stripe';
import { stripe } from '../payment/stripe/stripeClient' import { stripe } from '../payment/stripe/stripeClient';
-import { listOrders } from '@lemonsqueezy/lemonsqueezy.js'; -import { listOrders } from '@lemonsqueezy/lemonsqueezy.js';
import { getDailyPageViews, getSources } from './providers/plausibleAnalyticsUtils'; import { getDailyPageViews, getSources } from './providers/plausibleAnalyticsUtils';
-// import { getDailyPageViews, getSources } from './providers/googleAnalyticsUtils'; // import { getDailyPageViews, getSources } from './providers/googleAnalyticsUtils';
-import { paymentProcessor } from '../payment/paymentProcessor'; import { paymentProcessor } from '../payment/paymentProcessor';
+// import { getDailyPageViews, getSources } from './providers/googleAnalyticsUtils; @@ -42,17 +41,7 @@
export type DailyStatsProps = { dailyStats?: DailyStats; weeklyStats?: DailyStats[]; isLoading?: boolean };
@@ -41,17 +39,7 @@
paidUserDelta -= yesterdaysStats.paidUserCount; paidUserDelta -= yesterdaysStats.paidUserCount;
} }
@@ -31,7 +27,7 @@
const { totalViews, prevDayViewsChangePercent } = await getDailyPageViews(); const { totalViews, prevDayViewsChangePercent } = await getDailyPageViews();
@@ -162,38 +150,3 @@ @@ -163,39 +152,3 @@
// Revenue is in cents so we convert to dollars (or your main currency unit) // Revenue is in cents so we convert to dollars (or your main currency unit)
return totalRevenue / 100; return totalRevenue / 100;
} }
@@ -70,4 +66,4 @@
- throw error; - throw error;
- } - }
-} -}
\ No newline at end of file -

View File

@@ -1,6 +1,6 @@
--- template/app/src/server/scripts/dbSeeds.ts --- template/app/src/server/scripts/dbSeeds.ts
+++ opensaas-sh/app/src/server/scripts/dbSeeds.ts +++ opensaas-sh/app/src/server/scripts/dbSeeds.ts
@@ -37,9 +37,11 @@ @@ -38,9 +38,11 @@
sendNewsletter: false, sendNewsletter: false,
credits, credits,
subscriptionStatus, subscriptionStatus,