From 30be88c8ce8a9386546f025fe46cdff9a4fa58de Mon Sep 17 00:00:00 2001 From: mr Date: Thu, 28 Nov 2024 14:04:58 +0100 Subject: [PATCH] some --- models/utils/abstracts.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/models/utils/abstracts.go b/models/utils/abstracts.go index 03fd075..e9ea2de 100644 --- a/models/utils/abstracts.go +++ b/models/utils/abstracts.go @@ -3,6 +3,7 @@ package utils import ( "encoding/json" "errors" + "fmt" "time" "cloud.o-forge.io/core/oc-lib/dbs" @@ -194,6 +195,7 @@ func genericLoadAll[T DBObject](res *mgb.Cursor, code int, err error, f func(DBO if !r.VerifyAuth(wfa.GetPeerID(), wfa.GetGroups()) { continue } + fmt.Println("results", len(results), f(r)) objs = append(objs, f(r)) } return objs, 200, nil