From e4860ff67e3fdf7a383c45b936f488d29ca131a9 Mon Sep 17 00:00:00 2001 From: mr Date: Wed, 6 Nov 2024 09:41:46 +0100 Subject: [PATCH] zblah --- models/peer/peer_mongo_accessor.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/models/peer/peer_mongo_accessor.go b/models/peer/peer_mongo_accessor.go index d784868..f14cabd 100644 --- a/models/peer/peer_mongo_accessor.go +++ b/models/peer/peer_mongo_accessor.go @@ -1,7 +1,6 @@ package peer import ( - "fmt" "strconv" "cloud.o-forge.io/core/oc-lib/dbs" @@ -71,7 +70,6 @@ func (wfa *peerMongoAccessor) Search(filters *dbs.Filters, search string) ([]uti objs := []utils.ShallowDBObject{} if (filters == nil || len(filters.And) == 0 || len(filters.Or) == 0) && search != "" { s, err := strconv.Atoi(search) - fmt.Println(s, err, search) if err == nil { filters = &dbs.Filters{ Or: map[string][]dbs.Filter{ // search by name if no filters are provided