From b8d1540599f0042cbcddc9822eaa52ead926651c Mon Sep 17 00:00:00 2001 From: DzananGanic Date: Thu, 13 Dec 2018 13:23:14 +0100 Subject: [PATCH] fixed wrong json tag for RespUserInteractive Session param --- responses.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/responses.go b/responses.go index fe0eeb3..4055c62 100644 --- a/responses.go +++ b/responses.go @@ -84,7 +84,7 @@ type RespUserInteractive struct { Stages []string `json:"stages"` } `json:"flows"` Params map[string]interface{} `json:"params"` - Session string `json:"string"` + Session string `json:"session"` Completed []string `json:"completed"` ErrCode string `json:"errcode"` Error string `json:"error"`