Implement API endpoint for transactions

This commit is contained in:
2022-01-25 19:17:48 +00:00
parent 458f4f0e8f
commit c2bbaebfd2
4 changed files with 33 additions and 3 deletions

View File

@ -73,6 +73,7 @@ func (h *Handler) Serve() {
authenticated := api.Group("")
authenticated.Use(h.verifyLoginWithForbidden)
authenticated.GET("/dashboard", h.dashboard)
authenticated.GET("/account/:accountid/transactions", h.transactionsForAccount)
withBudget2 := authenticated.Group("")
withBudget2.Use(h.getImportantData)