Could it affect baby?

This past week, something hasn't been agreeing with me at all. I haven't been able to Isolate it yet but something is making me feel gross-indigestion, sometimes diarrhea sometimes just feel bla. Some days it's totally fine. Obviously those are the days I'm not eating the unknown food. I'm trying to drink more to make up for the diarrhea that's happened a couple of times. I can still feel baby move daily but just worried it'll affect him/her. I don't think it will because I don't believe it's an infection or anything. I've had no signs of fever or what not. It's just a digestion thing. If it persists much longer I'll go to the walk in clinic but just wondering if y'all have an opinion or had this happen.