This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch 2022.39.1
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 5a181c5c315a230ce05a41fe5986fe90d22ce3e2
Author: Reese <[email protected]>
AuthorDate: Tue Sep 27 16:02:37 2022 -0400

    fix: Dataset duplication fatal error (#21358)
    
    (cherry picked from commit e3ddd0bdd5f8f976e0a1733f6da29e33a2545c27)
---
 superset-frontend/src/views/CRUD/data/dataset/DatasetList.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset-frontend/src/views/CRUD/data/dataset/DatasetList.tsx 
b/superset-frontend/src/views/CRUD/data/dataset/DatasetList.tsx
index 27750eab32..df2f54cb0f 100644
--- a/superset-frontend/src/views/CRUD/data/dataset/DatasetList.tsx
+++ b/superset-frontend/src/views/CRUD/data/dataset/DatasetList.tsx
@@ -701,7 +701,7 @@ const DatasetList: FunctionComponent<DatasetListProps> = ({
 
     SupersetClient.post({
       endpoint: `/api/v1/dataset/duplicate`,
-      postPayload: {
+      jsonPayload: {
         base_model_id: datasetCurrentlyDuplicating?.id,
         table_name: newDatasetName,
       },

Reply via email to