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

@ -8,13 +8,6 @@ import (
"github.com/google/uuid"
)
type AccountData struct {
AlwaysNeededData
Account *postgres.Account
Categories []postgres.GetCategoriesRow
Transactions []postgres.GetTransactionsForAccountRow
}
func (h *Handler) transactionsForAccount(c *gin.Context) {
accountID := c.Param("accountid")
accountUUID, err := uuid.Parse(accountID)