We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5696c03 commit 91a9851Copy full SHA for 91a9851
src/aleph/sdk/client/services/crn.py
@@ -230,9 +230,8 @@ async def get_crns_list(self, only_active: bool = True) -> CrnList:
230
dict
231
The parsed JSON response from /crns.json.
232
"""
233
- # We want filter_inactive = (not only_active)
234
# Convert bool to string for the query parameter
235
- filter_inactive_str = str(not only_active).lower()
+ filter_inactive_str = str(only_active).lower()
236
params = {"filter_inactive": filter_inactive_str}
237
238
# Create a new session for external domain requests
0 commit comments