mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2025-01-05 10:29:26 +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
|
var nodes Nodes
|
||||||
|
|
||||||
|
nodes.RowsPerPage = q.RowsPerPage
|
||||||
|
|
||||||
qTotal := fmt.Sprintf(`
|
qTotal := fmt.Sprintf(`
|
||||||
SELECT
|
SELECT
|
||||||
COUNT(id) AS total_rows
|
COUNT(id) AS total_rows
|
||||||
|
|
Loading…
Reference in a new issue