Covid vaccination in third trimester

Sap

I’m already in my 34th week. My OB recommended to take it now but she also highlighted that I should get both doses before delivery. I didn’t understand if she meant not getting both doses before delivery has any impact in passing the antibodies to the baby. If so, I would want to wait until delivery to get both doses.

To summarize,

1. Should I get the vaccination now even if I have to deliver the baby in between both doses?

2. Should I wait until delivery and then get both doses so that I can protect the baby by passing antibodies through breastmilk?