diff --git a/server/index.js b/server/index.js index 702abbf1..c93fc64c 100755 --- a/server/index.js +++ b/server/index.js @@ -85,8 +85,6 @@ const installMode = fs.existsSync(path.join(APP_ROOT, '.git')) ? 'git' : 'npm'; console.log('SERVER_PORT from env:', process.env.SERVER_PORT); -const VALID_PROVIDERS = ['claude', 'codex', 'cursor', 'gemini']; - const app = express(); const server = http.createServer(app); diff --git a/server/modules/database/repositories/notification-preferences.ts b/server/modules/database/repositories/notification-preferences.ts index ca24ca54..6ba21976 100644 --- a/server/modules/database/repositories/notification-preferences.ts +++ b/server/modules/database/repositories/notification-preferences.ts @@ -64,7 +64,7 @@ export const notificationPreferencesDb = { return defaults; } - let parsed: unknown = DEFAULT_NOTIFICATION_PREFERENCES; + let parsed: unknown; try { parsed = JSON.parse(row.preferences_json); } catch {