diff --git a/convert.go b/convert.go index 5a80ddb..187b35f 100644 --- a/convert.go +++ b/convert.go @@ -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 ...