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 03af4eb commit 7ca1431Copy full SHA for 7ca1431
fedn/network/api/v1/shared.py
@@ -61,6 +61,10 @@ def get_post_data_to_kwargs(request: object) -> dict:
61
except Exception:
62
request_data = {}
63
64
+ # Ensure request_data is a dictionary
65
+ if not isinstance(request_data, dict):
66
+ request_data = {}
67
+
68
kwargs = {}
69
for key, value in request_data.items():
70
if isinstance(value, str) and "," in value:
0 commit comments