The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
check the preference check before sending emails
Kiran K9f2b9c037ed4
diff --git a/apps/web/app/api/cron/domains/verify/utils.ts b/apps/web/app/api/cron/domains/verify/utils.tsindex 7cfa8a4b63..bb4adcd957 100644--- a/apps/web/app/api/cron/domains/verify/utils.ts+++ b/apps/web/app/api/cron/domains/verify/utils.ts@@ -62,6 +62,9 @@ export const handleDomainUpdates = async ({user: {isMachine: false,},+ notificationPreference: {+ domainConfigurationWarnings: true,+ },},},},diff --git a/apps/web/app/api/cron/usage/utils.ts b/apps/web/app/api/cron/usage/utils.tsindex b13332f9c5..e7ac9d5b94 100644--- a/apps/web/app/api/cron/usage/utils.ts+++ b/apps/web/app/api/cron/usage/utils.ts@@ -33,6 +33,9 @@ export const updateUsage = async () => {user: {isMachine: false,},+ notificationPreference: {+ linkUsageSummary: true,+ },},orderBy: {createdAt: "asc",