noopkat / ms-bing-speech-service

NodeJS service wrapper for Microsoft Speech API and Custom Speech Service
MIT License
82 stars 17 forks source link

added access token to config, indentation cleanup #7

Closed filljoyner closed 6 years ago

filljoyner commented 6 years ago

Added access token as a default option and allowed it to be used in api calls instead of requesting a token from MS. Useful when creating an applications that may have access to expiring tokens but not the subscription key.

Did a bit of indentation clean up while adding the option.

filljoyner commented 6 years ago

Sorry about the indentation! I didn't even think about how that would show as line changes. If it is a pain, reject and I'll revert indentation back and patch.

noopkat commented 6 years ago

@filljoyner thanks so much for this pull request. This feature totally makes sense! I published a new version of this package so you can use the latest version now.

bitmoji

filljoyner commented 6 years ago

Happy to help! P.S. Strangely enough my Bitmoji wears the same outfit. Ha!