Repair Expense API 500 Errors #143
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objective: Fix endpoint returning 500 Internal Server Error due to schema mismatch between and tables.
Target Files:
Acceptance Criteria:
Execution Steps:
Technical Details:
✅ Munka befejezve: 2026-03-26 08:55:28
Technikai Összefoglaló:
Fixed expense API 500 errors. Updated AddExpense.vue to call correct endpoint /api/v1/expenses/ and map frontend fields to backend schema (category->cost_type, amount->amount_local, odometer_value->mileage_at_cost).
⏱️ A ráfordított időt a Gitea rögzítette.