From 8d79512e0b6286c03480e8312558967637d7014e Mon Sep 17 00:00:00 2001 From: Hans Trompert Date: Wed, 26 Jun 2024 16:13:58 +0200 Subject: [PATCH] temporary fix surf backend to work with orchestrator-core 2.3.0 (#94) --- src/supa/nrm/backends/surf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/supa/nrm/backends/surf.py b/src/supa/nrm/backends/surf.py index 18f10011..4bf70f7b 100644 --- a/src/supa/nrm/backends/surf.py +++ b/src/supa/nrm/backends/surf.py @@ -204,7 +204,7 @@ def _get_subscription_id(self, process_id: str) -> str: def _get_nsi_stp_subscriptions(self) -> Any: access_token = self._retrieve_access_token() nsi_stp_subscriptions = get( - f"{self.backend_settings.base_url}/api/subscriptions/?filter=status,active,tag,NSISTP-NSISTPNL", + f"{self.backend_settings.base_url}/api/pythia_legacy/subscriptions/?filter=status,active,tag,NSISTP-NSISTPNL", # noqa: E501 headers={"Authorization": f"bearer {access_token}"}, ) if nsi_stp_subscriptions.status_code != 200: