Skip to content

Commit

Permalink
Small tweaks, fixing Env Vars
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkhamLee committed Mar 2, 2024
1 parent 2280cb1 commit 9809511
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 78 deletions.
4 changes: 2 additions & 2 deletions etl_pipelines_nodejs/finnhub_node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"engines": {
"node": "^18"
"node": "^19"
},
"keywords": [],
"author": "Markham Lee",
"license": "MIT",
"devDependencies": {
"@types/express": "^4.17.21",
"@types/node": "^18.19.1",
"@types/node": "^18.19.21",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint": "^8.57.0",
Expand Down
2 changes: 0 additions & 2 deletions etl_pipelines_nodejs/finnhub_node/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ finnhubClient.quote(config.stock, (error: any, data: any, response: any) => {


}


});

//method to write data to InfluxDB
Expand Down
71 changes: 0 additions & 71 deletions etl_pipelines_nodejs/finnhub_node/src/test.js

This file was deleted.

2 changes: 1 addition & 1 deletion etl_pipelines_nodejs/finnhub_node/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
"declarationMap": true,
"lib": ["es2022"]
}
}
}
2 changes: 1 addition & 1 deletion etl_pipelines_nodejs/finnhub_node/utils/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var influxdb_client_1 = require("@influxdata/influxdb-client");
var axios_1 = require("axios");
var config = {
bucket: process.env.BUCKET,
finnhubKey: process.env.OPENWEATHER_KEY,
finnhubKey: process.env.FINNHUB_KEY,
measurement: process.env.WEATHER_MEASUREMENT,
org: process.env.INFLUX_ORG,
stock: process.env.STOCK_SYMBOL,
Expand Down
2 changes: 1 addition & 1 deletion etl_pipelines_nodejs/finnhub_node/utils/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const config: VarConfig = {

bucket: process.env.BUCKET as string,
finnhubKey: process.env.FINNHUB_KEY as string,
measurement: process.env.WEATHER_MEASUREMENT as string,
measurement: process.env.FINNHUB_MEASUREMENT_SPY as string,
org: process.env.INFLUX_ORG as string,
stock: process.env.STOCK_SYMBOL as string,
token: process.env.INFLUX_KEY as string,
Expand Down

0 comments on commit 9809511

Please sign in to comment.