Composer package upload no longer causes user to logout.
authorLaurence Maultsby <laurence.maultsby@riftio.com>
Tue, 25 Apr 2017 19:58:05 +0000 (15:58 -0400)
committerLaurence Maultsby <laurence.maultsby@riftio.com>
Tue, 25 Apr 2017 19:58:05 +0000 (15:58 -0400)
Signed-off-by: Laurence Maultsby <laurence.maultsby@riftio.com>
skyquake/plugins/composer/api/composer.js

index c8ac6a4..b9d35ad 100644 (file)
@@ -348,7 +348,7 @@ PackageManager.upload = function(req) {
             data['transaction_id'] = result[0].body['output']['transaction-id'];
 
             // Add a status checker on the transaction and then to delete the file later
-            PackageFileHandler.checkCreatePackageStatusAndHandleFile(req, data['transaction_id'], true);
+            PackageFileHandler.checkCreatePackageStatusAndHandleFile(req, data['transaction_id'], false);
 
             // Return status to composer UI to update the status.
             resolve({
@@ -506,7 +506,7 @@ PackageManager.copy = function(req) {
 }
 
 /**
- * This methods retrieves the status of package operations. It takes an optional 
+ * This methods retrieves the status of package operations. It takes an optional
  * transaction id (id) this if present will return only that status otherwise
  * an array of status' will be response.
  */