Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1543 from bobman38/google_cred_as_env
Browse files Browse the repository at this point in the history
hangouts chat: allow to consume auth data from env var instead of file
  • Loading branch information
benbrown authored Dec 20, 2018
2 parents 18061f7 + c28c734 commit abaceed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/GoogleHangoutsBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ function GoogleHangoutsBot(configuration) {
google_hangouts_botkit.middleware.spawn.use(function(worker, next) {

let params = {
scopes: 'https://www.googleapis.com/auth/chat.bot'
scopes: 'https://www.googleapis.com/auth/chat.bot',
...configuration.google_auth_params
};

google
Expand Down

0 comments on commit abaceed

Please sign in to comment.