I smoked marijuana throughout my pregnancy so i could be able to eat because medication didn't help with my all day sickness. ( gained about 7 pounds entire pregnancy)

I had the baby and me and him both came back positive in the hospital for marijuana. I haven't smoked since the night BEFORE having the baby. Because I am breastfeeding and have no reason to smoke.

My question is,  how long will it be until the baby is clean from marijuana since i don't smoke anymore? And did the marijuana transfer to my milk as well, or was it only in my collustrum ??