AppsView: updateInfo is now part of app object

This commit is contained in:
Girish Ramakrishnan
2025-06-26 16:37:51 +02:00
parent 19c9d7d59d
commit 2486aee24d
6 changed files with 26 additions and 33 deletions
+2 -2
View File
@@ -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'));