Secondhand pot

Didn't know I was pregnant and was in a small closed room where others were smoking pot
​I did not participate but was in there just bs-ing 
​I was there for a while
​Im now a few weeks pregnant and heard a Heartbeat!
​Will everytging be ok????