Skip to content

Commit 91a9851

Browse files
committed
fix: allow all node to be found
1 parent 5696c03 commit 91a9851

File tree

1 file changed

+1
-2
lines changed
  • src/aleph/sdk/client/services

1 file changed

+1
-2
lines changed

src/aleph/sdk/client/services/crn.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,8 @@ async def get_crns_list(self, only_active: bool = True) -> CrnList:
230230
dict
231231
The parsed JSON response from /crns.json.
232232
"""
233-
# We want filter_inactive = (not only_active)
234233
# Convert bool to string for the query parameter
235-
filter_inactive_str = str(not only_active).lower()
234+
filter_inactive_str = str(only_active).lower()
236235
params = {"filter_inactive": filter_inactive_str}
237236

238237
# Create a new session for external domain requests

0 commit comments

Comments
 (0)