Skip to content

Commit

Permalink
Add additional check for setupCallKit property value
Browse files Browse the repository at this point in the history
  • Loading branch information
YuliaGrigorieva committed Oct 12, 2018
1 parent accf701 commit 14a7f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ export default class Client {
if (callSettings.extraHeaders === undefined) {
callSettings.extraHeaders = null;
}
if (callSettings.setupCallKit === undefined) {
if (callSettings.setupCallKit === undefined || callSettings.setupCallKit === null) {
callSettings.setupCallKit = false;
}
return new Promise((resolve, reject) => {
Expand Down

0 comments on commit 14a7f89

Please sign in to comment.