Skip to content

Commit

Permalink
[#1652] Fix rendering messages with render library (#1675)
Browse files Browse the repository at this point in the history
* fixed suggestion response inbound from google

* removed log and linting
  • Loading branch information
AudreyKj authored Apr 29, 2021
1 parent 6a13489 commit e395ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/typescript/render/providers/google/GoogleRender.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function render(content: ContentUnion, props: RenderPropsUnion) {
}

function googleInbound(message: Message): ContentUnion {
const messageJson = message.content.message;
const messageJson = message.content.message ?? message.content;

if (messageJson.richCard?.standaloneCard) {
const {
Expand Down

0 comments on commit e395ec0

Please sign in to comment.