Skip to content

Commit

Permalink
Added support for account_linking event
Browse files Browse the repository at this point in the history
  • Loading branch information
Charca committed Jul 28, 2016
1 parent fa071dc commit 5feabaa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/BootBot.js
Expand Up @@ -382,6 +382,8 @@ class BootBot extends EventEmitter {
this._handleEvent('delivery', event);
} else if (event.read) {
this._handleEvent('read', event);
} else if (event.account_linking) {
this._handleEvent('account_linking', event);
} else {
console.log('Webhook received unknown event: ', event);
}
Expand Down

0 comments on commit 5feabaa

Please sign in to comment.