I think I ate raw pizza 🥺

I decided to go eat pizza at spankys and ordered a veggie whole wheat deep dish and after 2 slices I noticed the layer below the veggies and cheese looked either raw or mushy. Could the pizza be raw and harm my baby :( now my tummy hurts!