v0.0.492
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 5m32s

This commit is contained in:
2024-08-02 16:19:21 +02:00
parent 413bf3c848
commit ffffe4bf24
5 changed files with 35 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ type jsonHTTPResponse struct {
func (j jsonHTTPResponse) jsonRenderer(g *gin.Context) json.GoJsonRender {
var f *string
if jsonfilter := g.GetString("goext.jsonfilter"); jsonfilter != "" {
if jsonfilter := g.GetString(jsonFilterKey); jsonfilter != "" {
f = &jsonfilter
}
return json.GoJsonRender{Data: j.data, NilSafeSlices: true, NilSafeMaps: true, Filter: f}