diff --git a/superset/charts/api.py b/superset/charts/api.py index a4a301b71a1..df36a203ea0 100644 --- a/superset/charts/api.py +++ b/superset/charts/api.py @@ -845,7 +845,7 @@ class ChartRestApi(BaseSupersetModelRestApi): `{"databases/MyDatabase.yaml": "my_password"}`. type: string overwrite: - description: overwrite existing databases? + description: overwrite existing charts? type: boolean responses: 200: diff --git a/superset/dashboards/api.py b/superset/dashboards/api.py index d5c04809beb..c29eae57e3e 100644 --- a/superset/dashboards/api.py +++ b/superset/dashboards/api.py @@ -952,7 +952,7 @@ class DashboardRestApi(BaseSupersetModelRestApi): `{"databases/MyDatabase.yaml": "my_password"}`. type: string overwrite: - description: overwrite existing databases? + description: overwrite existing dashboards? type: boolean responses: 200: