Fix Invalid Response, cleanup (#12)
This commit is contained in:
parent
1422d49c31
commit
e09ee66d1c
@ -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
|
||||
|
@ -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
|
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user