Merge "Fix deletion of subscriber"

This commit is contained in:
Jenkins 2017-02-17 00:28:28 +00:00 committed by Gerrit Code Review
commit c39cddf655

View File

@ -89,9 +89,9 @@
return apiService.put(url, sub).error(error(msg)); return apiService.put(url, sub).error(error(msg));
} }
function deleteSubscription(queue, subscription) { function deleteSubscription(queueName, subscription) {
var msg = gettext('Unable to delete 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)); return apiService.delete(url, subscription).error(error(msg));
} }