mirror of
https://github.com/R0m1k3/noteflow.git
synced 2026-10-15 11:17:42 +02:00
Fixed issue where notes and todos were not displaying due to boolean type mismatch between SQLite (uses 0/1) and PostgreSQL (uses TRUE/FALSE). Changes: - routes/notes.routes.js: Fixed archived, completed, and priority fields - routes/todos.routes.js: Fixed completed, priority, and in_progress fields - routes/calendar.routes.js: Fixed all_day field - routes/rss.routes.js: Fixed enabled field - routes/rss.routes-v2.js: Fixed enabled field - routes/users.routes.js: Fixed is_admin field All boolean parameters now use native boolean values instead of converting to 0/1, ensuring compatibility with PostgreSQL BOOLEAN columns. This resolves the issue where notes were not displaying even though they existed in the database.