eventlog: getAll -> list
This commit is contained in:
@@ -4,7 +4,7 @@ exports = module.exports = {
|
||||
add,
|
||||
upsertLoginEvent,
|
||||
get,
|
||||
getAllPaged,
|
||||
listPaged,
|
||||
cleanup,
|
||||
_clear: clear,
|
||||
|
||||
@@ -147,7 +147,7 @@ async function get(id) {
|
||||
return postProcess(result[0]);
|
||||
}
|
||||
|
||||
async function getAllPaged(actions, search, page, perPage) {
|
||||
async function listPaged(actions, search, page, perPage) {
|
||||
assert(Array.isArray(actions));
|
||||
assert(typeof search === 'string' || search === null);
|
||||
assert.strictEqual(typeof page, 'number');
|
||||
|
||||
Reference in New Issue
Block a user