chore: clean up lint/type issues and tighten comment media URL validation

This commit is contained in:
Yusuf İpek
2026-02-23 16:06:43 +03:00
parent 609b33bbcb
commit d15e5192ac
19 changed files with 61 additions and 86 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ function createPool(connectionString: string): Pool {
const pool = new Pool(poolConfig);
// Add error handling for pool errors
pool.on('error', (err, client) => {
pool.on('error', (err) => {
console.error('Unexpected database pool error:', err.message);
// Don't crash the app on unexpected pool errors
});