Commit Graph

8 Commits

Author SHA1 Message Date
e079baa865 Fix: Convert empty string to None for due_date field in update_chore
When updating a chore with an empty due_date field, SQLite was throwing an error
because it only accepts Python datetime and date objects, not empty strings.

This fix checks if due_date is an empty string and converts it to None before
setting the attribute, preventing the TypeError.

Error fixed: "SQLite DateTime type only accepts Python datetime and date objects as input"
2026-02-02 11:48:36 +11:00
99f0c694bd Add GET /api/v1/users endpoint for admin to list all users 2026-01-28 17:40:33 +11:00
aede5167d8 Add user profile update endpoints (self-update and admin update) 2026-01-28 17:26:04 +11:00
fb53891bc2 Fix import: get_current_user from auth module not security 2026-01-27 23:05:11 +11:00
ecf14bda69 Add chores API endpoints with CRUD operations 2026-01-27 22:27:41 +11:00
370b600916 Add user management endpoints 2026-01-26 21:56:52 +11:00
b0349f641e Add authentication endpoints 2026-01-26 21:56:38 +11:00
5dcdee7afd Add api/v1 __init__.py 2026-01-26 21:56:24 +11:00