From cb1297b8bfff2dccbc8363a7f58a64d44d7a6676 Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Thu, 2 Dec 2021 21:51:36 +0000 Subject: [PATCH] Fix using model directly --- http/accounts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/accounts.go b/http/accounts.go index a0aa701..7471009 100644 --- a/http/accounts.go +++ b/http/accounts.go @@ -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) {