Wisdom teeth removal

will it affect my breastfeeding since I won’t be able to eat very well. I know you have to eat often and stay hydrated when you’re breastfeeding but I don’t think that would be possible being in pain. I’m only a month pp so I hope it doesn’t make me produce less. Also will the pain killers they give me be safe to take as well?