graphs: add app response in system graphs
This commit is contained in:
@@ -29,7 +29,7 @@ async function getAppGraphs(req, res, next) {
|
||||
|
||||
const fromMinutes = parseInt(req.query.fromMinutes);
|
||||
const noNullPoints = !!req.query.noNullPoints;
|
||||
const [error, result] = await safe(graphs.getByApp(req.app, fromMinutes, noNullPoints));
|
||||
const [error, result] = await safe(graphs.getApp(req.app, fromMinutes, noNullPoints));
|
||||
if (error) return next(new HttpError(500, error));
|
||||
|
||||
next(new HttpSuccess(200, result));
|
||||
|
||||
Reference in New Issue
Block a user