Woke up needing inhaler! I'd baby ok!!??

Su
So I woke up.. n when I took a breath from my mouth rather my nose.. it was very sensitive n I started coughing. So I hurried n used my inhaler. Stupid question. But do u think my baby had enough oxygen? ? I breathed just fine thru my nose. My lungs were just very sensitive I guess!!!