mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-11-23 23:06:47 +01:00
Update diff files
This commit is contained in:
@@ -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'>
|
||||||
|
|||||||
@@ -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
|
-
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user