fix style

This commit is contained in:
Girish Ramakrishnan
2016-06-04 18:56:53 -07:00
parent 5540b5f545
commit c916ea2589

View File

@@ -248,7 +248,7 @@ function updateApp(req, res, next) {
var data = req.body;
if (!data.manifest || typeof data.manifest !== 'object') return next(new HttpError(400, 'manifest is required'));
if (('portBindings' in data) && typeof data.portBindings !== 'object') return next(new HttpError(400, 'portBindings must be an object'));
if ('portBindings' in data && typeof data.portBindings !== 'object') return next(new HttpError(400, 'portBindings must be an object'));
if ('icon' in data && typeof data.icon !== 'string') return next(new HttpError(400, 'icon is not a string'));
if ('force' in data && typeof data.force !== 'boolean') return next(new HttpError(400, 'force must be a boolean'));