Ate bad cream cheese!

I’m 35 weeks pregnant, I had a bagel from a bagel shop for breakfast this morning. I thought the cream cheese tasted a little off, but my taste buds have been weird this whole pregnancy so I didn’t think anything of it.

An hour or so later, I got really sick to my stomach and (TMI) ended up with diarrhea. Now I’m worried that this could hurt the baby? Do I have anything to worry about?