diff --git a/swh/core/api/__init__.py b/swh/core/api/__init__.py --- a/swh/core/api/__init__.py +++ b/swh/core/api/__init__.py @@ -179,7 +179,7 @@ post_data.pop("db", None) # Send the request. - return self.post(meth._endpoint_path, post_data) + return self._post(meth._endpoint_path, post_data) if meth_name not in attributes: attributes[meth_name] = meth_