From b1cecb178d3e2f66fd81a5105220685a13df341d Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 7 Jun 2016 17:30:18 -0700 Subject: [PATCH] appStoreId must be string (if present) --- cloudron.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudron.js b/cloudron.js index 4a09bee..b459af2 100644 --- a/cloudron.js +++ b/cloudron.js @@ -171,7 +171,7 @@ Cloudron.prototype.installApp = function (location, manifestOrAppstoreId, portBi var data = { manifest: typeof manifestOrAppstoreId === 'object' ? manifestOrAppstoreId : null, - appStoreId: typeof manifestOrAppstoreId === 'string' ? manifestOrAppstoreId : null, + appStoreId: typeof manifestOrAppstoreId === 'string' ? manifestOrAppstoreId : '', location: location, accessRestriction: null, oauthProxy: false,