Scared...took wrong meds while BF

I was having some pain last night and I took a Tylenol PM. I just now found out it wasn’t a regular Tylenol.

My baby is 7 months old. Will it affect him ? Online is giving me mixed info.

My breast milk today has increased and baby is really sleepy. I been pretty drowsy myself but my boyfriend is home with us.