.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}
|
filter := bson.M{"_id": id}
|
||||||
|
|
||||||
if !g.IsEmpty(updateData) {
|
if !g.IsEmpty(updateData) {
|
||||||
bsonm, err := mongo.EntityToBSONM(updateData)
|
bsonm, err := mongo.BuildUpdateData(ctx, updateData)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user