Fix partialFilter in index

This commit is contained in:
George Suntres
2026-04-08 20:38:24 -04:00
parent 37d867930b
commit 7a48d336e7
2 changed files with 8 additions and 5 deletions

View File

@@ -2,7 +2,6 @@ package mongo
import (
"errors"
"log"
"context"
"go.mongodb.org/mongo-driver/v2/bson"
@@ -26,8 +25,6 @@ func (c *MongoClient) GenericFind(ctx context.Context, payload *FindRequest) (*D
collection := c.GetCollection(database, name)
log.Printf("%v", collection)
var filter bson.D
var err error