diff --git a/mwdb/resources/blob.py b/mwdb/resources/blob.py index 2b5b1a743..d499f656f 100644 --- a/mwdb/resources/blob.py +++ b/mwdb/resources/blob.py @@ -225,9 +225,9 @@ def get(self, identifier): """ return super().get(identifier) + @deprecated_endpoint(DeprecatedFeature.legacy_object_upload) @requires_authorization @requires_capabilities(Capabilities.adding_blobs) - @deprecated_endpoint(DeprecatedFeature.legacy_object_upload) def put(self, identifier): """ --- diff --git a/mwdb/resources/config.py b/mwdb/resources/config.py index c1f3e74f0..95f519483 100644 --- a/mwdb/resources/config.py +++ b/mwdb/resources/config.py @@ -348,9 +348,9 @@ def get(self, identifier): """ return super().get(identifier) + @deprecated_endpoint(DeprecatedFeature.legacy_object_upload) @requires_authorization @requires_capabilities(Capabilities.adding_configs) - @deprecated_endpoint(DeprecatedFeature.legacy_object_upload) def put(self, identifier): """ --- diff --git a/mwdb/resources/file.py b/mwdb/resources/file.py index b916d362f..bc86228e2 100644 --- a/mwdb/resources/file.py +++ b/mwdb/resources/file.py @@ -242,9 +242,9 @@ def get(self, identifier): """ return super().get(identifier) + @deprecated_endpoint(DeprecatedFeature.legacy_object_upload) @requires_authorization @requires_capabilities(Capabilities.adding_files) - @deprecated_endpoint(DeprecatedFeature.legacy_object_upload) def post(self, identifier): """ ---