AppsView: updateInfo is now part of app object
This commit is contained in:
+2
-2
@@ -55,7 +55,7 @@ exports = module.exports = {
|
||||
startExecWebSocket,
|
||||
getExec,
|
||||
|
||||
checkForUpdates,
|
||||
checkUpdate,
|
||||
|
||||
clone,
|
||||
|
||||
@@ -1043,7 +1043,7 @@ async function listEventlog(req, res, next) {
|
||||
next(new HttpSuccess(200, { eventlogs }));
|
||||
}
|
||||
|
||||
async function checkForUpdates(req, res, next) {
|
||||
async function checkUpdate(req, res, next) {
|
||||
assert.strictEqual(typeof req.resources.app, 'object');
|
||||
|
||||
if (!req.resources.app.appStoreId) return next(new HttpError(400, 'Custom apps have no updates'));
|
||||
|
||||
Reference in New Issue
Block a user