From 7e9ead156c3377f8d0346b963ddc2e8689a3714a Mon Sep 17 00:00:00 2001 From: Eugene Zhdan Date: Thu, 30 May 2019 02:39:15 -0400 Subject: [PATCH] Update LexResponse according to example and documentation. --- events/lex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/lex.go b/events/lex.go index ebdc3e83..70bfbd0b 100644 --- a/events/lex.go +++ b/events/lex.go @@ -47,7 +47,7 @@ type Slots map[string]*string type LexResponse struct { SessionAttributes SessionAttributes `json:"sessionAttributes,omitempty"` - DialogAction *LexDialogAction `json:"dialogAction,omitempty"` + DialogAction LexDialogAction `json:"dialogAction,omitempty"` } type LexResponseCard struct {