Skip to content
This repository has been archived by the owner on Mar 13, 2020. It is now read-only.

Added List Tasks functionality #32

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ var authorize = require('./routes/authorize');
var mail = require('./routes/mail');
var calendar = require('./routes/calendar');
var contacts = require('./routes/contacts');
var tasks = require('./routes/tasks');

var app = express();

Expand All @@ -33,6 +34,7 @@ app.use('/authorize', authorize);
app.use('/mail', mail);
app.use('/calendar', calendar);
app.use('/contacts', contacts);
app.use('/tasks', tasks);

// catch 404 and forward to error handler
app.use(function(req, res, next) {
Expand Down
1 change: 1 addition & 0 deletions helpers/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const credentials = {
client: {
id: process.env.APP_ID,
secret: process.env.APP_PASSWORD,

},
auth: {
tokenHost: 'https://login.microsoftonline.com',
Expand Down