Cleanup unused backend code and routes

This commit is contained in:
2022-02-06 20:15:00 +00:00
parent 68c2d3ff28
commit 065159a817
6 changed files with 77 additions and 182 deletions

View File

@ -49,9 +49,7 @@ func (h *Handler) Serve() {
withBudget := router.Group("")
withBudget.Use(h.verifyLoginWithForbidden)
withBudget.GET("/budget/:budgetid/:year/:month", h.budgeting)
withBudget.GET("/budget/:budgetid/all-accounts", h.allAccounts)
withBudget.GET("/budget/:budgetid/settings/clean-negative", h.cleanNegativeBudget)
withBudget.GET("/budget/:budgetid/transaction/:transactionid", h.transaction)
api := router.Group("/api/v1")