From 0e1c7b462c3664881fc2c7d527d676e10ab6af08 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 7 Jun 2016 18:52:04 -0700 Subject: [PATCH] fix appStoreId --- cloudron.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudron.js b/cloudron.js index b459af2..f3f0b0e 100644 --- a/cloudron.js +++ b/cloudron.js @@ -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')