Mercurial > gemma
diff pkg/controllers/publish.go @ 474:11d80120ed3d
Renamed published services to internal services to be more symmetrical to external services.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 23 Aug 2018 13:32:16 +0200 |
parents | b2dea4e56ff1 |
children | b2dc9c2f69e0 |
line wrap: on
line diff
--- a/pkg/controllers/publish.go Thu Aug 23 13:24:26 2018 +0200 +++ b/pkg/controllers/publish.go Thu Aug 23 13:32:16 2018 +0200 @@ -10,10 +10,10 @@ func published(_ interface{}, req *http.Request, _ *sql.DB) (jr JSONResult, err error) { jr = JSONResult{ Result: struct { - Internal []models.PubEntry `json:"internal"` + Internal []models.IntEntry `json:"internal"` External []models.ExtEntry `json:"external"` }{ - Internal: models.PublishedServices.Filter(models.PublishedAll), + Internal: models.InternalServices.Filter(models.InternalAll), External: models.ExternalServices.Filter(models.ExternalAll), }, }