Covid 19 booster shot during pregnancy

Sana

I have taken 2 shots of covid vaccine already before i was pregnant. My doctor says I need to take the 3rd shot. Is it safe to get a Covid 19 booster shot during pregnancy? Thoughts please.