From a6f76e6813a13d252863669d5e5769fa596eb1b8 Mon Sep 17 00:00:00 2001 From: Alexander Richards Date: Tue, 12 Dec 2023 11:37:16 +0000 Subject: [PATCH] States: unused subscription name. Fixes #6345 --- lib/rucio/web/rest/flaskapi/v1/subscriptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rucio/web/rest/flaskapi/v1/subscriptions.py b/lib/rucio/web/rest/flaskapi/v1/subscriptions.py index 97d4ee9934..b395531f33 100644 --- a/lib/rucio/web/rest/flaskapi/v1/subscriptions.py +++ b/lib/rucio/web/rest/flaskapi/v1/subscriptions.py @@ -530,7 +530,7 @@ def get(self, account, name=None): description: Not acceptable """ def generate(vo): - for row in list_subscription_rule_states(account=account, vo=vo): + for row in list_subscription_rule_states(name=name, account=account, vo=vo): yield dumps(row, cls=APIEncoder) + '\n' return try_stream(generate(vo=request.environ.get('vo')))