please answer quick question

So I had about 5-6 beers ... pumped and gave my baby all the pumped milk I had but I had my last beer around 1145 -12am... and o felt fine as it's now 6 am  and I've been sleeping so I breastfed him. Is that okay???