diff options
author | Yusuke Nemoto <kaakaa@users.noreply.github.com> | 2017-12-14 04:04:55 +0900 |
---|---|---|
committer | Chris <ccbrown112@gmail.com> | 2017-12-13 13:04:55 -0600 |
commit | ddd99f747663ff6f2a5446ab7fc92490ea90ddef (patch) | |
tree | a30dff3ef2ecde4fd516b743e2ac1312c9a3b277 /api4/system.go | |
parent | c39788b64b2d2c1f61968da234cac47c21e1affb (diff) | |
download | chat-ddd99f747663ff6f2a5446ab7fc92490ea90ddef.tar.gz chat-ddd99f747663ff6f2a5446ab7fc92490ea90ddef.tar.bz2 chat-ddd99f747663ff6f2a5446ab7fc92490ea90ddef.zip |
PLT-6896 per-paging for logs (#7903)
* PLT-6896 Read logs from last
* Getting rid of file.Stats
* remove deprecated value
* Make non-reassigned value constant
Diffstat (limited to 'api4/system.go')
-rw-r--r-- | api4/system.go | 2 |
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 |