diff options
| author | JustZvan <justzvan@justzvan.xyz> | 2026-03-28 18:09:34 +0100 |
|---|---|---|
| committer | JustZvan <justzvan@justzvan.xyz> | 2026-03-28 18:09:34 +0100 |
| commit | 7beacb50b1f3febf23abbcc41b8d5602cf12a28b (patch) | |
| tree | ae66bead1e06a73d9f02e684cb7ed7d082fbb59d /src/routes/parent.ts | |
| parent | e904e9634548e47d611bdcbb88d7b180b927fd5f (diff) | |
fix: remove duplicate fields in codebase
Diffstat (limited to 'src/routes/parent.ts')
| -rw-r--r-- | src/routes/parent.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/parent.ts b/src/routes/parent.ts index db7206d..dd94d6e 100644 --- a/src/routes/parent.ts +++ b/src/routes/parent.ts @@ -338,7 +338,7 @@ function createParentRouter( key: "new_people", title: "New contact alerts", description: "Get notified when your child chats with someone new.", - defaultValue: cfg.newContactAlerts, + defaultValue: cfg.notifyNewContactAdded, }, { key: "block_strangers", @@ -406,7 +406,7 @@ function createParentRouter( const keyMap: Record<string, keyof typeof deviceConfig.$inferSelect> = { disable_buddy: "disableBuddy", adult_sites: "blockAdultSites", - new_people: "newContactAlerts", + new_people: "notifyNewContactAdded", block_strangers: "blockStrangers", notify_dangerous_messages: "notifyDangerousMessages", notify_new_contact_added: "notifyNewContactAdded", |