alexa-samples / skill-sample-python-fact-in-skill-purchases

Demonstrates how to use the new in-skill purchasing (ISP) features of Alexa skills by offering different packs of facts behind a purchase, and a subscription to unlock all of the packs at once.
Other
16 stars 13 forks source link

Removed trailing comma in skill.json #1

Closed allenstetson closed 5 years ago

allenstetson commented 5 years ago

When using ask cli in Python 3.6 to deploy this code to the Developer Console, the trailing comma on line 14 causes an "invalid json" error. I've just removed that trailing comma to produce valid json.

Issue #, if available: None

Description of changes: Removed trailing comma that was creating invalid json.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

allenstetson commented 5 years ago

@nikhilym, I can't seem to add Assignees or Reviewers, so I thought I'd tag you to make sure that you saw this PR, as you are the original contributor. Thanks!

nikhilym commented 5 years ago

Hey @allenstetson , sorry for not responding earlier. Thanks for the PR. Though the skill.json on the repo cannot be used directly with the skill, through CLI, it is good to have it in the correct format. Thanks for the PR 👍