Skip to content

Commit f8d6657

Browse files
committed
refactor: simplify logging in manual approval handlers by removing transaction ID details
1 parent ec679c9 commit f8d6657

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/adapters/entrypoints/rest/handlers/manual_approval_api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ func NewApproveTransactionsHandler() http.HandlerFunc {
300300
return
301301
}
302302

303-
log.Infof("Approved %d transaction(s): %v", len(request.TxIds), request.TxIds)
303+
log.Infof("Approved %d transaction(s)", len(request.TxIds))
304304

305305
// Mock response - in real implementation, this would:
306306
// 1. Validate transaction IDs exist
@@ -337,7 +337,7 @@ func NewDenyTransactionsHandler() http.HandlerFunc {
337337
return
338338
}
339339

340-
log.Infof("Denied %d transaction(s): %v", len(request.TxIds), request.TxIds)
340+
log.Infof("Denied %d transaction(s)", len(request.TxIds))
341341

342342
// Mock response - in real implementation, this would:
343343
// 1. Validate transaction IDs exist

0 commit comments

Comments
 (0)