rename getServices to getServiceIds

This commit is contained in:
Girish Ramakrishnan
2021-01-21 12:38:12 -08:00
parent 304fe45ee8
commit d294dea84d
2 changed files with 6 additions and 8 deletions

View File

@@ -16,9 +16,7 @@ const assert = require('assert'),
services = require('../services.js');
function getAll(req, res, next) {
req.clearTimeout(); // can take a while to get status of all services
services.getServices(function (error, result) {
services.getServiceIds(function (error, result) {
if (error) return next(BoxError.toHttpError(error));
next(new HttpSuccess(200, { services: result }));