Fix using model directly
This commit is contained in:
parent
223064698e
commit
cb1297b8bf
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user