Fix using model directly

This commit is contained in:
jacob1123 committed 2021-12-02 21:51:36 +00:00
1 parent 223064698e
commit cb1297b8bf
1 file changed
+1 -1
+1 -1
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) {