From 34bed49e59fe06cfbc29b5fa8b2eb2ebb21a2173 Mon Sep 17 00:00:00 2001 From: Laurence Maultsby Date: Tue, 25 Apr 2017 15:58:05 -0400 Subject: [PATCH] Composer package upload no longer causes user to logout. Signed-off-by: Laurence Maultsby --- skyquake/plugins/composer/api/composer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skyquake/plugins/composer/api/composer.js b/skyquake/plugins/composer/api/composer.js index c8ac6a4df..b9d35ad54 100644 --- a/skyquake/plugins/composer/api/composer.js +++ b/skyquake/plugins/composer/api/composer.js @@ -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. */ -- 2.25.1