Breastmilk open bottle

Crap! I used the hakaa on one side to catch during a feeding and totally forgot to cover the bottle!! It had been out 2 hours.. but no lid. Is it ok since there wasn’t a lid?