Remove logging left from previous commit
This commit is contained in:
parent
633be8c233
commit
6c60ca55df
@ -52,8 +52,8 @@ func (dal *DalImpl) Transactions(limit, offset int, category *string) (entity.Tr
|
||||
SELECT t.id, t.date, t.description, t.amount, tc.name
|
||||
FROM pfbudget.transactions t
|
||||
LEFT JOIN pfbudget.transactions_categorized tc
|
||||
ON t.id = tc.id
|
||||
`
|
||||
ON t.id = tc.id`
|
||||
|
||||
args := []any{limit, offset}
|
||||
|
||||
if category != nil {
|
||||
@ -63,9 +63,7 @@ func (dal *DalImpl) Transactions(limit, offset int, category *string) (entity.Tr
|
||||
stmt += `
|
||||
ORDER BY t.date DESC
|
||||
LIMIT $1
|
||||
OFFSET $2
|
||||
`
|
||||
log.Print(stmt, args)
|
||||
OFFSET $2`
|
||||
|
||||
rows, err := dal.Db.Query(stmt, args...)
|
||||
if err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user