8000 Fixed ExpectReplies response (#2166) · fkatada/ms-botbuilder-python@b3e7436 · GitHub
[go: up one dir, main page]

Skip to content

Commit b3e7436

Browse files
tracyboehrerTracy Boehrer
and
Tracy Boehrer
authored
Fixed ExpectReplies response (microsoft#2166)
* Fixed ExpectReplies response * Fix formatting --------- Co-authored-by: Tracy Boehrer <trboehre@microsoft.com>
1 parent e493609 commit b3e7436

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libraries/botbuilder-core/botbuilder/core/cloud_adapter_base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,9 @@ def _process_turn_results(self, context: TurnContext) -> InvokeResponse:
436436
if context.activity.delivery_mode == DeliveryModes.expect_replies:
437437
return InvokeResponse(
438438
status=HTTPStatus.OK,
439-
body=ExpectedReplies(activities=context.buffered_reply_activities),
439+
body=ExpectedReplies(
440+
activities=context.buffered_reply_activities
441+
).serialize(),
440442
)
441443

442444
# Handle Invoke scenarios where the bot will return a specific body and return code.

0 commit comments

Comments
 (0)
0