Breastfeeding diet.

To be completely honest I have a horrible diet & I exclusively breastfeed. My baby seems to be happy and full & doesn't have any tummy issues. but I'm starting to think maybe i shouldn't be breastfeeding if i cant eat healthy , Im worried my baby isnt getting the nutrients he needs.