HELP ! Kinda worried ๐Ÿ˜…

I've been sick with a bad cold since the 23rd... My doctor said to take Dayquil but i took Nyquil instead today. I'm kinda worried does it affect the baby? I'm 34 weeks, kinda panicking ๐Ÿ˜•๐Ÿ˜“