mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:01:08 +02:00
🔧 chore(mana-notify): disable email notifications by default
Email alerts were causing too many notifications. Changed default from true to false so new users won't receive email notifications unless explicitly enabled. Push notifications remain enabled.
This commit is contained in:
parent
aae5ef63a3
commit
b8ecdb8eb7
2 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ export const preferences = notifySchema.table(
|
|||
userId: text('user_id').notNull(),
|
||||
|
||||
// Global settings
|
||||
emailEnabled: boolean('email_enabled').notNull().default(true),
|
||||
emailEnabled: boolean('email_enabled').notNull().default(false),
|
||||
pushEnabled: boolean('push_enabled').notNull().default(true),
|
||||
|
||||
// Quiet hours
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ export class PreferencesService {
|
|||
.insert(preferences)
|
||||
.values({
|
||||
userId,
|
||||
emailEnabled: true,
|
||||
emailEnabled: false,
|
||||
pushEnabled: true,
|
||||
quietHoursEnabled: false,
|
||||
timezone: 'Europe/Berlin',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue