Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(email): remove isAnonymous prop from first-view email template

Richie McIlroy3c69bca47af7
diff --git a/apps/web/lib/Notification.ts b/apps/web/lib/Notification.ts
index b49e69a8a..55a576f6b 100644
--- a/apps/web/lib/Notification.ts
+++ b/apps/web/lib/Notification.ts
@@ -376,7 +376,6 @@ export async function sendFirstViewEmail(
url: videoUrl,
videoName: videoWithOwner.videoName,
viewerName,
- isAnonymous: params.isAnonymous,
}),
});
} catch (error) {
diff --git a/packages/database/emails/first-view.tsx b/packages/database/emails/first-view.tsx
index 77f37eb3f..8a6e8fa32 100644
--- a/packages/database/emails/first-view.tsx
+++ b/packages/database/emails/first-view.tsx
@@ -24,7 +24,6 @@ export function FirstView({
url: string;
videoName: string;
viewerName: string;
- isAnonymous: boolean;
}) {
return (
<Html>