Fix Invalid Response, cleanup (#12)

This commit is contained in:
Jordan Hackworth 2016-10-29 15:57:45 -07:00 committed by Joseph J. Schmitt
parent 1422d49c31
commit e09ee66d1c
4 changed files with 13 additions and 14 deletions

View File

@ -15,7 +15,7 @@ Function](https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/d
## Configuring The Skill
To configure the skill, open up the `.env` file and fill in the correct values for `CP_URL`, which
To configure the skill, copy `default.env` to `.env` and fill in the correct values for `CP_URL`, which
should point to your Couch Potato server, and `CP_API_KEY` which should have your server's API key.
## Testing The Skill Locally

View File

@ -9,4 +9,4 @@ AWS_TIMEOUT=10
AWS_DESCRIPTION=
AWS_RUNTIME=nodejs
CP_URL=http://url-to-couch-potato-server
CP_API_KEY=apiKey
CP_API_KEY=APIKEY

View File

@ -40,7 +40,7 @@ function formatSearchResults(movies) {
newMovies.push({
original_title: movies[i].original_title,
inLibrary: movies[i].in_library,
in_library: movies[i].in_library,
year: movies[i].year,
titles: movies[i].titles,
imdb: movies[i].imdb
@ -56,4 +56,3 @@ module.exports = {
sendSearchResponse: sendSearchResponse,
formatSearchResults: formatSearchResults
};