add event log in model code

This commit is contained in:
Girish Ramakrishnan
2016-05-01 21:37:08 -07:00
parent d7a34bbf68
commit 994cbaa22a
3 changed files with 32 additions and 22 deletions

View File

@@ -648,7 +648,7 @@ function installAppBundle(callback) {
apps.install(uuid.v4(), appstoreId, result.body.manifest, appInfo.location,
appInfo.portBindings || null, appInfo.accessRestriction || null,
null /* icon */, null /* cert */, null /* key */, 0 /* default mem limit */,
null /* altDomain */, iteratorCallback);
null /* altDomain */, { userId: null, username: 'autoinstaller' }, iteratorCallback);
});
}, function (error) {
if (error) debug('autoInstallApps: ', error);