good morning!!!!

Skip to content
Snippets Groups Projects
Commit ba3a250b authored by José Carlos Nieto's avatar José Carlos Nieto
Browse files

Temp fix.

parent 461dd637
No related branches found
No related tags found
No related merge requests found
......@@ -102,6 +102,10 @@ func (c *MongoDataSourceCollection) Append(items ...interface{}) ([]db.Id, error
if items[i].(map[string]interface{})["_id"] == nil {
items[i].(map[string]interface{})["_id"] = id
}
case db.Item:
if items[i].(db.Item)["_id"] == nil {
items[i].(db.Item)["_id"] = id
}
}
args[i+1] = reflect.ValueOf(toInternal(items[i]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment