From 32f744ce24f2f0ecf8a133c24fd0654adc250fe8 Mon Sep 17 00:00:00 2001 From: Mohammed Sohail Date: Thu, 16 Jun 2022 12:22:55 +0300 Subject: [PATCH] tidy: remove dev logs --- internal/admin/transactions.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/admin/transactions.go b/internal/admin/transactions.go index 3604c9b..623f8f1 100644 --- a/internal/admin/transactions.go +++ b/internal/admin/transactions.go @@ -9,7 +9,6 @@ import ( "github.com/georgysavva/scany/pgxscan" "github.com/jackc/pgx/v4" "github.com/labstack/echo/v4" - "github.com/rs/zerolog/log" ) type userTransactionRes struct { @@ -36,8 +35,6 @@ func handleLatestTransactions(c echo.Context) error { err error ) - log.Info().Msgf("%v", pg) - if pg.FirstPage { rows, err = api.db.Query(context.Background(), api.q["account-latest-transactions"], phone, pg.PerPage) if err != nil { @@ -74,8 +71,6 @@ func handleLatestTransactionsByToken(c echo.Context) error { err error ) - log.Info().Msgf("%v", pg) - if pg.FirstPage { rows, err = api.db.Query(context.Background(), api.q["account-latest-transactions-by-token"], phone, token, pg.PerPage) if err != nil {