Skip to content

Commit

Permalink
refactor: Remove unnecessary default value assignment for dailyConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
sioquim committed Sep 9, 2024
1 parent 7e65aa9 commit f25ecb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default class Vapi extends VapiEventEmitter {
this.call = DailyIframe.createCallObject({
audioSource: this.dailyCallObject.audioSource ?? true,
videoSource: isVideoRecordingEnabled,
dailyConfig: this.dailyCallConfig || {}
dailyConfig: this.dailyCallConfig
});
this.call.iframe()?.style.setProperty('display', 'none');

Expand Down

0 comments on commit f25ecb7

Please sign in to comment.