fix appStoreId

This commit is contained in:
Girish Ramakrishnan 2016-06-07 18:52:04 -07:00
parent ab9a685912
commit 0e1c7b462c

View File

@ -241,7 +241,7 @@ Cloudron.prototype.updateApp = function (appId, manifestOrAppstoreId) {
var data = {
password: this._credentials.password,
manifest: typeof manifestOrAppstoreId === 'object' ? manifestOrAppstoreId : null,
appStoreId: typeof manifestOrAppstoreId === 'string' ? manifestOrAppstoreId : null
appStoreId: typeof manifestOrAppstoreId === 'string' ? manifestOrAppstoreId : ''
};
var res = request.post(this._origin + '/api/v1/apps/' + appId + '/update')