Will effect your tummy and might cause heartburn. Will also effect the amniotic fluid, when your baby starts to drink amniotic fluid, then will effect baby's digestion system. As the kidney still not able to handle it.
You might get diarrhoea if you’re sensitive to it. But if you have tried some spicy food and can tolerate then it’s fine.