From dffaa6326fa007db94418ccbcef00ee90342157c Mon Sep 17 00:00:00 2001 From: mr Date: Tue, 2 Jun 2026 14:03:30 +0200 Subject: [PATCH] still prospecting --- dbs/dbs.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dbs/dbs.go b/dbs/dbs.go index 9fd1ecd..eb48e9d 100644 --- a/dbs/dbs.go +++ b/dbs/dbs.go @@ -180,12 +180,12 @@ func FiltersFromFlatMap(flatMap map[string]interface{}, target interface{}) *Fil } for jsonKey, val := range m { bsonKey := resolve(jsonKey) - items, ok := val.([]interface{}) - fmt.Println(jsonKey, val, ok, bsonKey) + //items, ok := val.([]interface{}) + fmt.Println(jsonKey, val, bsonKey) if !ok { continue } - for _, item := range items { + for _, item := range val.([]interface{}) { entry, ok := item.(map[string]interface{}) if !ok { continue