diff --git a/src/aap_eda/api/metadata.py b/src/aap_eda/api/metadata.py index 79d4f9ac0..da378d57b 100644 --- a/src/aap_eda/api/metadata.py +++ b/src/aap_eda/api/metadata.py @@ -13,7 +13,9 @@ def determine_actions(self, request, view): the fields that are accepted for 'PUT' and 'POST' methods. """ actions = {} - for method in {"PUT", "PATCH", "POST"} & set(view.allowed_methods): + for method in {"GET", "PUT", "PATCH", "POST"} & set( + view.allowed_methods + ): view.request = clone_request(request, method) try: # Test global permissions