Remove skipNotification flag

we always want a update finish eventlog. Otherwise, the eventlog seems
strange since it says 'started updated' but didn't finish
This commit is contained in:
Girish Ramakrishnan
2019-09-26 20:06:12 -07:00
parent 44aba5d6e1
commit a266fe13d0
4 changed files with 2 additions and 5 deletions

View File

@@ -490,7 +490,6 @@ function updateApp(req, res, next) {
if (!data.manifest && !data.appStoreId) return next(new HttpError(400, 'appStoreId or manifest is required'));
if ('skipBackup' in data && typeof data.skipBackup !== 'boolean') return next(new HttpError(400, 'skipBackup must be a boolean'));
if ('skipNotification' in data && typeof data.skipNotification !== 'boolean') return next(new HttpError(400, 'skipNotification must be a boolean'));
if ('force' in data && typeof data.force !== 'boolean') return next(new HttpError(400, 'force must be a boolean'));
debug('Update app id:%s to manifest:%j', req.params.id, data.manifest);