diff --git a/models/utils/common.go b/models/utils/common.go index 48141ec..1a006bf 100644 --- a/models/utils/common.go +++ b/models/utils/common.go @@ -124,7 +124,7 @@ func genericLoadAll[T DBObject](res *mgb.Cursor, code int, err error, onlyDraft if err = res.All(mongo.MngoCtx, &results); err != nil { return nil, 404, err } - fmt.Println("results", results) + fmt.Println("results", results, res) for _, r := range results { if !r.VerifyAuth(a.GetRequest()) || f(r) == nil || (onlyDraft && !r.IsDrafted()) || (!onlyDraft && r.IsDrafted()) { continue