Skip to content

Commit

Permalink
Remove all references to var
Browse files Browse the repository at this point in the history
  • Loading branch information
arran-standish committed May 30, 2024
1 parent efb222a commit b1dff16
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const getAccessToken = async () => {
refresh: true,
});

var config = {
const config = {
method: 'POST',
url: `${protocol}://${SUPERSET_SERVICE_NAME}:${SUPERSET_API_PORT}${SUPERSET_LOGIN_PATH}`,
headers: {
Expand Down Expand Up @@ -58,7 +58,7 @@ const importZipConfig = async (accessToken) => {
fs.createReadStream(path.resolve(__dirname, CONFIG_FILE))
);

var config = {
const config = {
method: 'POST',
url: `${protocol}://${SUPERSET_SERVICE_NAME}:${SUPERSET_API_PORT}${SUPERSET_IMPORT_PATH}`,
headers: {
Expand Down Expand Up @@ -86,7 +86,6 @@ const replaceClickhouseConnectionString = async (accessToken) => {
const CLICKHOUSE_PASSWORD = process.env.CLICKHOUSE_PASSWORD || 'dev_password_only';

const databaseConfig = {

allow_ctas: false,
allow_cvas: false,
allow_dml: false,
Expand Down

0 comments on commit b1dff16

Please sign in to comment.