summaryrefslogtreecommitdiff
path: root/src/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app.js b/src/app.js
index c169c17..7020fbe 100644
--- a/src/app.js
+++ b/src/app.js
@@ -1,9 +1,11 @@
const bodyParser = require('body-parser');
+const dotenv = require('dotenv');
const express = require('express');
const { isSubscribed, getSubscriptions, getSubscriptionFromNumber, subscribe, load: loadData } = require('./db');
const { sendTextMessage } = require('./sendTextMessage');
const { MessagingResponse } = require('twilio').twiml;
+dotenv.config();
loadData();
const app = express();