diff --git a/ai4papi/routers/v1/catalog/datasets/zenodo.py b/ai4papi/routers/v1/catalog/datasets/zenodo.py index 77d3ac6..dd93497 100644 --- a/ai4papi/routers/v1/catalog/datasets/zenodo.py +++ b/ai4papi/routers/v1/catalog/datasets/zenodo.py @@ -124,6 +124,8 @@ def zenodo_proxy( _ = auth.get_user_info(token=authorization.credentials) # Convert params to frozenset + if params is None: + params = {} fparams = frozenset(params.items()) return _zenodo_proxy(api_route, fparams)