From 5dcaf03220d02c1a29605d3263b0d054b7478c9b Mon Sep 17 00:00:00 2001 From: Shu Muto Date: Tue, 14 Feb 2017 13:39:02 +0900 Subject: [PATCH] Fix deletion of subscriber Trush icon for deletion of subscriber doesn't work. This patch fixes it. Change-Id: I3f0923b2253be6be30e2cd7971b29440e4ad5ad8 Closes-Bug: #1664439 --- .../static/app/core/openstack-service-api/zaqar.service.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zaqar_ui/static/app/core/openstack-service-api/zaqar.service.js b/zaqar_ui/static/app/core/openstack-service-api/zaqar.service.js index 25830c3..7ecdfe9 100644 --- a/zaqar_ui/static/app/core/openstack-service-api/zaqar.service.js +++ b/zaqar_ui/static/app/core/openstack-service-api/zaqar.service.js @@ -89,9 +89,9 @@ return apiService.put(url, sub).error(error(msg)); } - function deleteSubscription(queue, subscription) { + function deleteSubscription(queueName, subscription) { var msg = gettext('Unable to delete subscription.'); - var url = interpolate(subPath, [queue.name]); + var url = interpolate(subPath, [queueName]); return apiService.delete(url, subscription).error(error(msg)); }