Skip to content

Commit

Permalink
fix: ChatSession.getTranscript() fails without arguments; closes #128
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer Lepine authored Oct 2, 2023
1 parent ebd78ea commit 1bd1cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/chatController.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class ChatController {
.catch(this.handleRequestFailure(metadata, ACPS_METHODS.SEND_EVENT, startTime, args.contentType));
}

getTranscript(inputArgs) {
getTranscript(inputArgs = {}) {
if (!this._validateConnectionStatus('getTranscript')) {
return;
}
Expand Down

0 comments on commit 1bd1cf4

Please sign in to comment.