SmartThingsCommunity / smartapp-sdk-nodejs

Javascript/NodeJS SDK to create SmartThings SmartApps
https://smartthings.developer.samsung.com/
Apache License 2.0
143 stars 80 forks source link

fix: Async issues with handleHttpCallbackUnverified #254

Closed AmineI closed 8 months ago

AmineI commented 8 months ago

Hello,

Issues arise with testing SmartApp locally, due to handleHttpCallbackUnverified not being an async method.

As with other methods, and following the documentation, handleHttpCallbackUnverified now returns a Promise and can be properly awaited.

Types of changes

AmineI commented 8 months ago

Amended commit name to fix the commit-lint failed step 🙂.

AmineI commented 8 months ago

These changes were included as part of #259 . Thanks & well done ! I'll close this PR - A comment or heads-up here would have been appreciated, however :).

Have a great week-end !