mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore: support trailing slashes in database api (#21123)
This commit is contained in:
@@ -375,7 +375,7 @@ export function validateQuery(query) {
|
||||
};
|
||||
|
||||
return SupersetClient.post({
|
||||
endpoint: `/api/v1/database/${query.dbId}/validate_sql`,
|
||||
endpoint: `/api/v1/database/${query.dbId}/validate_sql/`,
|
||||
body: JSON.stringify(postPayload),
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user