From 4c210d7623089d36b6bb6febf5a5e553bf73fbfb Mon Sep 17 00:00:00 2001 From: Eugene Zhdan Date: Fri, 31 May 2019 08:40:13 -0400 Subject: [PATCH] Update LexResponse according to example and documentation. (#200) --- 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 {