summaryrefslogtreecommitdiffstats
path: root/api4/system.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/system.go')
-rw-r--r--api4/system.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/system.go b/api4/system.go
index 7bc846766..93e9ddcd2 100644
--- a/api4/system.go
+++ b/api4/system.go
@@ -187,7 +187,7 @@ func getLogs(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
- lines, err := c.App.GetLogs(c.Params.Page, c.Params.PerPage)
+ lines, err := c.App.GetLogs(c.Params.Page, c.Params.LogsPerPage)
if err != nil {
c.Err = err
return