make response plural

This commit is contained in:
Girish Ramakrishnan
2016-04-30 18:57:43 -07:00
parent 8a3ad6c964
commit d3d9706a70

View File

@@ -18,6 +18,6 @@ function get(req, res, next) {
eventlog.getAllPaged(page, perPage, function (error, result) {
if (error) return next(new HttpError(500, error));
next(new HttpSuccess(200, { eventlog: result }));
next(new HttpSuccess(200, { eventlogs: result }));
});
}