.gitignore
This commit is contained in:
@@ -32,7 +32,7 @@ func (d *adPosition) Update(ctx context.Context, id *bson.ObjectID, updateData *
|
||||
filter := bson.M{"_id": id}
|
||||
|
||||
if !g.IsEmpty(updateData) {
|
||||
bsonm, err := mongo.EntityToBSONM(updateData)
|
||||
bsonm, err := mongo.BuildUpdateData(ctx, updateData)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user