Skip to content

Commit

Permalink
Update deprecated delegates url for tx service
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxio0 committed Oct 25, 2023
1 parent c8737fb commit 1626999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnosis/safe/api/transaction_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def get_transactions(self, safe_address: str) -> List[Dict[str, Any]]:
return response.json().get("results", [])

def get_delegates(self, safe_address: str) -> List[Dict[str, Any]]:
response = self._get_request(f"/api/v1/safes/{safe_address}/delegates/")
response = self._get_request(f"/api/v1/delegates/?safe={safe_address}")
if not response.ok:
raise SafeAPIException(f"Cannot get delegates: {response.content}")
else:
Expand Down

0 comments on commit 1626999

Please sign in to comment.