diff --git a/internal/hooks/transaction.go b/internal/hooks/transaction.go index 4ec7c9b..f6269ea 100644 --- a/internal/hooks/transaction.go +++ b/internal/hooks/transaction.go @@ -3,7 +3,6 @@ package hooks import ( "database/sql" "fmt" - "log" "github.com/grassrootseconomics/farmstar-survey-backend/internal/worker" "github.com/pocketbase/dbx" @@ -12,7 +11,6 @@ import ( func (r *HooksContainer) bootstrapTransactionHook() { r.pb.OnModelAfterCreate("transactions").Add(func(e *core.ModelEvent) error { - log.Println("hook?") transactionRecord, err := r.pb.Dao().FindRecordById("transactions", e.Model.GetId()) if err != nil { return err diff --git a/internal/router/transaction.go b/internal/router/transaction.go index 5245362..c275ceb 100644 --- a/internal/router/transaction.go +++ b/internal/router/transaction.go @@ -2,7 +2,6 @@ package router import ( "fmt" - "log" "time" "github.com/labstack/echo/v5" @@ -111,9 +110,7 @@ func (r *RouterContainer) bootstrapTransactionRoute() { txForm.LoadData(txData) - log.Println("pre_submit") if err := txForm.Submit(); err != nil { - log.Println(err) return apis.NewBadRequestError("Failed to submit tx details", err) }