Fix usage of audit source

This commit is contained in:
Girish Ramakrishnan
2019-02-11 14:37:49 -08:00
parent 92e1553eed
commit 70e5daf8c6
4 changed files with 14 additions and 11 deletions

View File

@@ -380,6 +380,7 @@ function removeInternalFields(app) {
'alternateDomains', 'ownerId', 'env', 'enableAutomaticUpdate', 'dataDir');
}
// non-admins can only see these
function removeRestrictedFields(app) {
return _.pick(app,
'id', 'appStoreId', 'installationState', 'installationProgress', 'runState', 'health', 'ownerId',