diff --git a/AutomaticClockOuts/config.js b/AutomaticClockOuts/config.js index 2bdab84..bb7a893 100644 --- a/AutomaticClockOuts/config.js +++ b/AutomaticClockOuts/config.js @@ -1,13 +1,13 @@ const config = { - endpoint: "xxx", - key: "xxx", + endpoint: process.env["ENDPOINT"], + key: process.env["KEY"], databaseId: "time-tracker-db", containerId: "time_entry", partitionKey: { kind: "Hash", paths: ["/category"] }, - clientId: "xxx", - authority: "xxx", - clientSecret: "xxx", - slackWebHook: "xxx" + clientId: process.env["CLIENT_ID"], + authority: process.env["AUTHORITY"], + clientSecret: process.env["CLIENT_SECRET"], + slackWebHook: process.env["SLACK_WEBHOOK"] }; module.exports = config;