Add text value to output jf2
Some checks failed
the build failed

This commit is contained in:
Peter Stuifzand 2018-08-19 17:04:14 +02:00
parent 4d08d18d62
commit c1e51e873a
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -271,7 +271,7 @@ func MapToItem(result map[string]interface{}) microsub.Item {
itemContent.HTML = html.(string)
set = true
}
if text, e2 := c["value"]; e2 {
if text, e2 := c["text"]; e2 {
itemContent.Text = text.(string)
set = true
}