Is this bad for the baby?!

I'm 5 months pregnant and my whole pregnancy I've been craving cookie dough.

Today I made a small batch (enough to make 3 big spoonfuls) and I inhaled it.

But my boyfriend thinks it's dangerous. I wasn't trying to harm the baby I just was in desperate need of some cookie dough!😢

Is our baby gonna be ok? I don't eat dough every day. Again this was a one time deal.

Thoughts??