Fix location change event log

This commit is contained in:
Girish Ramakrishnan
2019-09-10 13:36:41 -07:00
parent 3e2189aeed
commit cc5daa428d

View File

@@ -1147,7 +1147,7 @@ function setLocation(appId, data, auditSource, callback) {
if (error && error.reason === AppsError.ALREADY_EXISTS) error = getDuplicateErrorDetails(error.message, values.location, domainObject, data.portBindings, app.alternateDomains);
if (error) return callback(error);
eventlog.add(eventlog.ACTION_APP_CONFIGURE, auditSource, { appId: appId, app: app, config: values, taskId: result.taskId });
eventlog.add(eventlog.ACTION_APP_CONFIGURE, auditSource, { appId: appId, app: app, location: values.location, domain: values.domain, portBindings: values.portBindings, alternateDomains: values.alternateDomain, taskId: result.taskId });
callback(null, { taskId: result.taskId });
});