fix
This commit is contained in:
parent
6dc437b245
commit
008506a181
|
@ -29,8 +29,8 @@ func ConvertStringsToObjectIDs(strValues []string) []primitive.ObjectID {
|
|||
|
||||
// ConvertStringToObjectID ...
|
||||
func ConvertStringToObjectID(id string) primitive.ObjectID {
|
||||
ID, _ := primitive.ObjectIDFromHex(id)
|
||||
return ID
|
||||
objID, _ := primitive.ObjectIDFromHex(id)
|
||||
return objID
|
||||
}
|
||||
|
||||
// SortObjectId ...
|
||||
|
|
Loading…
Reference in New Issue