Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat(api): add pauseAnonViews to notification preferences schema

Richie McIlroyd5674e083f9d
diff --git a/apps/web/app/api/notifications/preferences/route.ts b/apps/web/app/api/notifications/preferences/route.ts
index 83d6c72b7..3398e50e0 100644
--- a/apps/web/app/api/notifications/preferences/route.ts
+++ b/apps/web/app/api/notifications/preferences/route.ts
@@ -11,6 +11,7 @@ const PreferencesSchema = z.object({
pauseReplies: z.boolean(),
pauseViews: z.boolean(),
pauseReactions: z.boolean(),
+ pauseAnonViews: z.boolean().optional().default(false),
}),
});