What happens to the baby when getting a brain freeze?

Yesterday, I was drinking a frozen drink too fast because I was hot and got a brain freeze. At the same time that was happening I was feeling the cold sensation flowing in my stomach.

Now I’m worried how it may have affected the baby.