You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by el...@apache.org on 2022/09/27 20:02:50 UTC

[superset] branch master updated: fix: Dataset duplication fatal error (#21358)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new e3ddd0bdd5 fix: Dataset duplication fatal error (#21358)
e3ddd0bdd5 is described below

commit e3ddd0bdd5f8f976e0a1733f6da29e33a2545c27
Author: Reese <10...@users.noreply.github.com>
AuthorDate: Tue Sep 27 16:02:37 2022 -0400

    fix: Dataset duplication fatal error (#21358)
---
 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,
       },