Implement autocomplete for categories

This commit is contained in:
2022-02-04 21:13:30 +00:00
parent 056071c6e6
commit 057c576831
5 changed files with 74 additions and 2 deletions

View File

@ -67,6 +67,7 @@ func (h *Handler) Serve() {
authenticated.GET("/admin/clear-database", h.clearDatabase)
authenticated.GET("/budget/:budgetid", h.budgeting)
authenticated.GET("/budget/:budgetid/autocomplete/payees", h.autocompletePayee)
authenticated.GET("/budget/:budgetid/autocomplete/categories", h.autocompleteCategories)
authenticated.DELETE("/budget/:budgetid", h.deleteBudget)
authenticated.POST("/budget/:budgetid/import/ynab", h.importYNAB)
authenticated.POST("/budget/:budgetid/settings/clear", h.clearBudget)