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

hangouts chat: allow to consume auth data from env var instead of file #1543

Merged
merged 3 commits into from
Dec 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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