From 1bd1cf44d4720506b118f4f906b74d7688c54952 Mon Sep 17 00:00:00 2001 From: Spencer Lepine Date: Mon, 2 Oct 2023 13:18:15 -0700 Subject: [PATCH] fix: ChatSession.getTranscript() fails without arguments; closes #128 --- src/core/chatController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/chatController.js b/src/core/chatController.js index 1650767..ca71726 100644 --- a/src/core/chatController.js +++ b/src/core/chatController.js @@ -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; }