Thrush nightmare!!!!

Ive just found out that my 2 month old baby boy has thrush and passed it on to my breasts. I exclusively breastfeed but also pump 8-12oz a day for my stash. Im a bit upset as i cannot use any of that extra milk during the infection. If i continue pumping which is painful, i will have to dump it and im afraid if i dont pump, my supply will suffer.