mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2025-01-03 17:39:48 +00:00
fix: RowsPerPage nodes API return zero
Forget to set RowsPerPage response
This commit is contained in:
parent
33efa8fd31
commit
54d82e0c8f
1 changed files with 2 additions and 0 deletions
|
@ -166,6 +166,8 @@ func (r *MoneroRepo) Nodes(q QueryNodes) (Nodes, error) {
|
|||
|
||||
var nodes Nodes
|
||||
|
||||
nodes.RowsPerPage = q.RowsPerPage
|
||||
|
||||
qTotal := fmt.Sprintf(`
|
||||
SELECT
|
||||
COUNT(id) AS total_rows
|
||||
|
|
Loading…
Reference in a new issue