Secondhand marijuana smoke while pregnant

I’m almost 20 weeks and I had about five to ten minutes exposure secondhand marijuana from my friends bf. he smoked it in the car and walked in and smelled it for a little bit until it faded. Was this amount of time harmful? First time mom here so i obsess about everything.