Hope you get well soon. Yes you're right. You can still give breastmilk to your baby as long as you're not taking any medication that makes your milk unsafe.
I also fell ill once and I still breastfeed my baby. I will "mask" myself feed to prevent from spreading germs to him.