add app update event

This commit is contained in:
Girish Ramakrishnan
2016-04-30 20:25:01 -07:00
parent 3d50a251ee
commit 43051cea3b

View File

@@ -291,6 +291,8 @@ function updateApp(req, res, next) {
if (error && error.reason === AppsError.PORT_CONFLICT) return next(new HttpError(409, 'Port ' + error.message + ' is already in use.'));
if (error) return next(new HttpError(500, error));
eventlog.add(eventlog.ACTION_APP_UPDATE, req, { id: req.params.id, appStoreId: data.manifest.id, toVersion: data.manifest.version });
next(new HttpSuccess(202, { }));
});
}