Breastmilk after surgery/anesthesia

I’m having a surgery done next week to remove kidney stones and will be put under anesthesia for it. Wondering if my breastmilk will be ok for baby (7 weeks old) after my surgery or if I should toss what I pump?