mirror of
https://github.com/GrassrootsEconomics/cic-dw.git
synced 2025-02-01 18:37:31 +01:00
tidy: remove dev logs
This commit is contained in:
parent
fe0e102a61
commit
32f744ce24
@ -9,7 +9,6 @@ import (
|
|||||||
"github.com/georgysavva/scany/pgxscan"
|
"github.com/georgysavva/scany/pgxscan"
|
||||||
"github.com/jackc/pgx/v4"
|
"github.com/jackc/pgx/v4"
|
||||||
"github.com/labstack/echo/v4"
|
"github.com/labstack/echo/v4"
|
||||||
"github.com/rs/zerolog/log"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type userTransactionRes struct {
|
type userTransactionRes struct {
|
||||||
@ -36,8 +35,6 @@ func handleLatestTransactions(c echo.Context) error {
|
|||||||
err error
|
err error
|
||||||
)
|
)
|
||||||
|
|
||||||
log.Info().Msgf("%v", pg)
|
|
||||||
|
|
||||||
if pg.FirstPage {
|
if pg.FirstPage {
|
||||||
rows, err = api.db.Query(context.Background(), api.q["account-latest-transactions"], phone, pg.PerPage)
|
rows, err = api.db.Query(context.Background(), api.q["account-latest-transactions"], phone, pg.PerPage)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -74,8 +71,6 @@ func handleLatestTransactionsByToken(c echo.Context) error {
|
|||||||
err error
|
err error
|
||||||
)
|
)
|
||||||
|
|
||||||
log.Info().Msgf("%v", pg)
|
|
||||||
|
|
||||||
if pg.FirstPage {
|
if pg.FirstPage {
|
||||||
rows, err = api.db.Query(context.Background(), api.q["account-latest-transactions-by-token"], phone, token, pg.PerPage)
|
rows, err = api.db.Query(context.Background(), api.q["account-latest-transactions-by-token"], phone, token, pg.PerPage)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user