Skip to content

Commit

Permalink
Merge pull request #6 from luanyata/dev
Browse files Browse the repository at this point in the history
🐛 (Direcao chamada) Correcao da direcao da  chamada
  • Loading branch information
luanyata authored Mar 31, 2020
2 parents 13e335c + 8596fe4 commit 06a3a39
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,9 @@ const eventVerto = (
OutboundEvents,
dialog = null
) => {
direction === CallState,
WSS.INBOUND ? InboundEvents(dialog) : OutboundEvents(dialog)
direction === CallState.INBOUND
? InboundEvents(dialog)
: OutboundEvents(dialog)
}

const Config = {
Expand Down

0 comments on commit 06a3a39

Please sign in to comment.