corrected how retrieve is instanciated

This commit is contained in:
pb 2025-08-01 16:28:49 +02:00
parent a788373c0f
commit 25d1c7ca39

View File

@ -30,7 +30,7 @@ func (m *MinioController) CreateServiceAccount() {
minioId := m.Ctx.Input.Param(":minioId") minioId := m.Ctx.Input.Param(":minioId")
var b map[string]interface{} var b map[string]interface{}
var retrieve bool retrieve := false
json.Unmarshal(m.Ctx.Input.CopyBody(10000), &b) json.Unmarshal(m.Ctx.Input.CopyBody(10000), &b)
if r, ok := b["retrieve"]; ok { if r, ok := b["retrieve"]; ok {
retrieve = r.(bool) retrieve = r.(bool)