diff --git a/src/datapump/clients/data_api.py b/src/datapump/clients/data_api.py index 672b794..c14cb94 100644 --- a/src/datapump/clients/data_api.py +++ b/src/datapump/clients/data_api.py @@ -148,7 +148,7 @@ def create_aux_asset( self, dataset: str, version: str, payload: Dict[str, Any] ) -> Dict[str, Any]: uri = f"{GLOBALS.data_api_uri}/dataset/{dataset}/{version}/assets" - return self.get_version(ValidMethods.post, uri, payload)["data"] + return self._send_request(ValidMethods.post, uri, payload)["data"] def append( self, dataset: str, version: str, source_uris: List[str]