mirror of
https://github.com/apache/superset.git
synced 2026-04-21 09:04:38 +00:00
bug fix (#17019)
This commit is contained in:
@@ -551,6 +551,10 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
|
||||
});
|
||||
// cast the new encrypted extra object into a string
|
||||
dbToUpdate.encrypted_extra = JSON.stringify(additionalEncryptedExtra);
|
||||
// this needs to be added by default to gsheets
|
||||
if (dbToUpdate.engine === 'gsheets') {
|
||||
dbToUpdate.impersonate_user = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (dbToUpdate?.parameters?.catalog) {
|
||||
|
||||
Reference in New Issue
Block a user