Fix task editing and creation errors in the API

Update task editing endpoint from PATCH to PUT, add logging for API requests and responses, and improve error handling to capture and display API error messages for better debugging of 404 errors.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cc2d271b-82f0-4d6a-9302-a0b067ffb429/iPlRXOE
This commit is contained in:
michaelschal committed 2025-08-19 10:37:20 +00:00
1 parent a0f3984479
commit 71caf68643
2 files changed
+10 -2

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB