appStoreId must be string (if present)

This commit is contained in:
Girish Ramakrishnan 2016-06-07 17:30:18 -07:00
parent 967d349c6a
commit b1cecb178d
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ Cloudron.prototype.installApp = function (location, manifestOrAppstoreId, portBi
var data = { var data = {
manifest: typeof manifestOrAppstoreId === 'object' ? manifestOrAppstoreId : null, manifest: typeof manifestOrAppstoreId === 'object' ? manifestOrAppstoreId : null,
appStoreId: typeof manifestOrAppstoreId === 'string' ? manifestOrAppstoreId : null, appStoreId: typeof manifestOrAppstoreId === 'string' ? manifestOrAppstoreId : '',
location: location, location: location,
accessRestriction: null, accessRestriction: null,
oauthProxy: false, oauthProxy: false,