paymentsdb: fix formatting for sql QueryPayments

This commit is contained in:
ziggie committed 2026-02-25 08:02:15 +01:00
1 parent 4c867c1b88
commit 7d87c0ce2f
1 file changed
+2 -6
+2 -6
View File
@@ -530,9 +530,7 @@ func (s *SQLStore) QueryPayments(ctx context.Context, query Query) (Response,
initialCursor int64
)
extractCursor := func(
row sqlc.FilterPaymentsRow) int64 {
extractCursor := func(row sqlc.FilterPaymentsRow) int64 {
return row.Payment.ID
}
@@ -549,9 +547,7 @@ func (s *SQLStore) QueryPayments(ctx context.Context, query Query) (Response,
}
// collectFunc extracts the payment ID from each payment row.
collectFunc := func(row sqlc.FilterPaymentsRow) (int64,
error) {
collectFunc := func(row sqlc.FilterPaymentsRow) (int64, error) {
return row.Payment.ID, nil
}