actions-on-google / actions-on-google-nodejs

Node.js client library for Actions on Google
https://actions-on-google.github.io/actions-on-google-nodejs
Apache License 2.0
900 stars 194 forks source link

Make execution params field optional #353

Closed Spissable closed 5 years ago

Spissable commented 5 years ago

Hi, according to the docs, the params field of SmartHomeV1ExecuteRequestExecution isn't mandatory. See: https://developers.google.com/actions/smarthome/traits/dock#device-commands

Cheers

Fleker commented 5 years ago

It may be helpful to add a test, even if you just define an unused object for the lint command to catch/not catch.

Spissable commented 5 years ago

I added the test