Places: Reduce viewer JSON response size

This commit is contained in:
Michael Mayer 2021-11-26 21:26:44 +01:00
parent 6c51049bf7
commit 1652f0b033

View file

@ -39,5 +39,5 @@ func (photos GeoResults) ViewerJSON(contentUri, apiUri, previewToken, downloadTo
results = append(results, NewViewerResult(p, contentUri, apiUri, previewToken, downloadToken))
}
return json.MarshalIndent(results, "", " ")
return json.Marshal(results)
}