Food poisoning?

I think I had some food poisoning move through me last night. I lost 6 pounds of digestive contents and fluids over night. I'm 19 weeks right now. If it was going to affect the baby, how long would it take? I'm just wondering when I can breathe easy about it.