fix appStoreId
This commit is contained in:
parent
ab9a685912
commit
0e1c7b462c
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user