Add debug logging for markContactEmailsAsRead and remove password change restriction

This commit is contained in:
richardtekula
2025-11-20 08:00:14 +01:00
parent 51714c8edd
commit 178b18baa5
20 changed files with 152 additions and 394 deletions

View File

@@ -15,13 +15,9 @@ const pool = new Pool({
connectionTimeoutMillis: 2000,
});
// Test database connection
pool.on('connect', () => {
console.log('✅ Database connected successfully');
});
// Note: Connection logging handled in index.js to avoid circular dependencies
pool.on('error', (err) => {
console.error('Unexpected database error:', err);
console.error('Unexpected database error:', err);
process.exit(-1);
});