the last few things.
This commit is contained in:
@@ -6,8 +6,10 @@ const {changesApi} = require("../../rpdata/api/Change")
|
||||
const changesTemplate = require("../../marko/page/data/changes.marko")
|
||||
|
||||
router.get("/", async(req, res) => {
|
||||
const limit = parseInt(req.query.limit) || 100
|
||||
|
||||
res.markoAsync(changesTemplate, {
|
||||
changes: changesApi.list({limit: 1000}),
|
||||
changes: changesApi.list({limit}),
|
||||
selected: {changes: true},
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user