Spicy food when when breastfeeding?

Is it okay to eat spicy food when you’re breastfeeding or is it going to hurt their stomachs?