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
spencerlepine authored Dec 22, 2023
1 parent a748147 commit 3caedff
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 @@ -181,7 +181,7 @@ class ChatController {
.catch(this.handleRequestFailure(metadata, ACPS_METHODS.SEND_EVENT, startTime, args.contentType));
}

getTranscript(inputArgs) {
getTranscript(inputArgs = {}) {
if (!this._validateConnectionStatus('getTranscript')) {
return Promise.reject(`Failed to call getTranscript, No active connection`);
}
Expand Down

0 comments on commit 3caedff

Please sign in to comment.