Skip to content

Commit

Permalink
Revert "verifying token is present. deploy test"
Browse files Browse the repository at this point in the history
This reverts commit 58bf3a5.
  • Loading branch information
chrisdevwords authored and chrisdevwords committed Aug 12, 2017
1 parent 58bf3a5 commit 11be565
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,11 @@ const { response } = require('./util/lambda')
function handler(event, context, callback) {

const { body } = event;
const {
SPOTIFY_USER_ACCESS_TOKEN,
SPOTIFY_LOCAL_URL,
SLACK_TOKEN
} = process.env;
const { SPOTIFY_CLIENT_ID, SPOTIFY_SECRET } = process.env;

let message = 'no token...';
if (SPOTIFY_USER_ACCESS_TOKEN) {
message = 'It works!'
}
callback(null, response({
message,
body
message: 'It works!',
body: body
}));
}

Expand Down

0 comments on commit 11be565

Please sign in to comment.