From fa4a5d309bd3b3a21e3a5481e743c50b25e80d30 Mon Sep 17 00:00:00 2001 From: Artem Panko Date: Mon, 19 Aug 2019 14:36:23 +0300 Subject: [PATCH] Fix #218 - remove omitempty from SessionAttributes in LexResponse --- events/lex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/lex.go b/events/lex.go index 70bfbd0b..dd635fbd 100644 --- a/events/lex.go +++ b/events/lex.go @@ -46,7 +46,7 @@ type SessionAttributes map[string]string type Slots map[string]*string type LexResponse struct { - SessionAttributes SessionAttributes `json:"sessionAttributes,omitempty"` + SessionAttributes SessionAttributes `json:"sessionAttributes"` DialogAction LexDialogAction `json:"dialogAction,omitempty"` }