Implement Delete Budget

This commit is contained in:
2022-01-31 15:50:13 +00:00
parent 1be3b6930d
commit 95b1ac5943
5 changed files with 58 additions and 3 deletions

View File

@ -66,6 +66,7 @@ func (h *Handler) Serve() {
authenticated.GET("/account/:accountid/transactions", h.transactionsForAccount)
authenticated.GET("/admin/clear-database", h.clearDatabase)
authenticated.GET("/budget/:budgetid", h.budgeting)
authenticated.DELETE("/budget/:budgetid", h.deleteBudget)
authenticated.POST("/budget/:budgetid/import/ynab", h.importYNAB)
authenticated.POST("/budget/:budgetid/settings/clear", h.clearBudget)