Drinking a small glass of wine & nursing

I drank a small glass of wine & then baby wanted to nurse early and i wasn’t thinking and started feeding her … is that okay? I’ve been reading try not to before 2 hours or more…. It’s been about an hour ish?