Fix using model directly

This commit is contained in:
Jan Bader 2021-12-02 21:51:36 +00:00
parent 223064698e
commit cb1297b8bf

View File

@ -35,7 +35,7 @@ func (h *Handler) accounts(c *gin.Context) {
type AccountData struct {
Account *postgres.Account
Transactions []postgres.Transaction
Transactions []postgres.GetTransactionsForAccountRow
}
func (h *Handler) account(c *gin.Context) {