Flying at 36 weeks

So I ask my doctor if I can fly at 36 weeks and she said she wouldn’t recommend it but if I have too I can . 🙄 my pregnancy has been very healthy .

Has anyone flown at 36 weeks ?