From 50cecc40c4e984433897a10ec835e1637179c1e7 Mon Sep 17 00:00:00 2001 From: mr Date: Tue, 30 Jul 2024 08:33:26 +0200 Subject: [PATCH] dbs logs --- dbs/mongo/mongo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbs/mongo/mongo.go b/dbs/mongo/mongo.go index d9dcba9..8b4b672 100644 --- a/dbs/mongo/mongo.go +++ b/dbs/mongo/mongo.go @@ -207,7 +207,7 @@ func (m *MongoDB) StoreOne(obj interface{}, id string, collection_name string) ( bson.Unmarshal(b, &doc) doc["_id"] = id targetDBCollection := CollectionMap[collection_name] - + fmt.Println("DB", targetDBCollection) MngoCtx, cancel = context.WithTimeout(context.Background(), 10*time.Second) defer cancel()