Codeine cough syrup??

Jordan
So I have a sinus infection that was turning into walking pneumonia or bronchitis (Dr couldn't really tell since an X-ray was out of the question). They prescribed me guaifenesin-codeine cough syrup and I was wondering if any of you other ladies had been prescribed it? I'm 29w+2 with a baby boy.