Mercurial > gemma
diff pkg/imports/sec.go @ 3524:40bc7e3bc561 import_review
review details for sections
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 29 May 2019 15:35:05 +0200 |
parents | f10d606b2931 |
children | ec1aec03676d |
line wrap: on
line diff
--- a/pkg/imports/sec.go Wed May 29 15:07:24 2019 +0200 +++ b/pkg/imports/sec.go Wed May 29 15:35:05 2019 +0200 @@ -201,11 +201,7 @@ } feedback.Info("Import of section was successful") - summary := struct { - Section string `json:"section"` - }{ - Section: sec.Name, - } + summary := sec // to provide full data for review - return &summary, nil + return summary, nil }